From f22767e4c9833e04ed7f571e1fd81f929e964c4f Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Sat, 15 Oct 2011 06:42:26 -0400 Subject: [PATCH] Remove another reference to latestCompletedXid. --- src/backend/access/transam/xlog.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 256b8b95dc..b907ea6595 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -6905,10 +6905,6 @@ StartupXLOG(void) XLogCtl->ckptXidEpoch = ControlFile->checkPointCopy.nextXidEpoch; XLogCtl->ckptXid = ControlFile->checkPointCopy.nextXid; - /* also initialize latestCompletedXid, to nextXid - 1 */ - ShmemVariableCache->latestCompletedXid = ShmemVariableCache->nextXid; - TransactionIdRetreat(ShmemVariableCache->latestCompletedXid); - /* * Start up the commit log and related stuff, too. In hot standby mode we * did this already before WAL replay. -- 2.39.5