projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bdadce
)
Remove another reference to latestCompletedXid.
author
Robert Haas
<rhaas@postgresql.org>
Sat, 15 Oct 2011 10:42:26 +0000
(06:42 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Sat, 15 Oct 2011 10:42:26 +0000
(06:42 -0400)
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 256b8b95dc9d136d7ab87c94ec644c0e7e2ce628..b907ea6595bf294a6d7e6680a5874013d4a089b3 100644
(file)
--- 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.