Remove another reference to latestCompletedXid.
authorRobert Haas <rhaas@postgresql.org>
Sat, 15 Oct 2011 10:42:26 +0000 (06:42 -0400)
committerRobert Haas <rhaas@postgresql.org>
Sat, 15 Oct 2011 10:42:26 +0000 (06:42 -0400)
src/backend/access/transam/xlog.c

index 256b8b95dc9d136d7ab87c94ec644c0e7e2ce628..b907ea6595bf294a6d7e6680a5874013d4a089b3 100644 (file)
@@ -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.