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:
7d97b44
)
Re-Add hunk initalizing replication slots in StartupXLOG(), slipped to a later patch.
author
Andres Freund
<andres@anarazel.de>
Tue, 28 Jan 2014 18:48:26 +0000
(19:48 +0100)
committer
Andres Freund
<andres@anarazel.de>
Tue, 28 Jan 2014 18:48:26 +0000
(19:48 +0100)
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 c420fc38296e8a1e6af20c2fe524e27be9f4d948..7f787a5a1cd8322ffaf7514343d1aefc0b84c4af 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-6542,6
+6542,12
@@
StartupXLOG(void)
XLogCtl->ckptXidEpoch = checkPoint.nextXidEpoch;
XLogCtl->ckptXid = checkPoint.nextXid;
+ /*
+ * Initialize replication slots, before there's a chance to remove
+ * required resources.
+ */
+ StartupReplicationSlots(checkPoint.redo);
+
/*
* Startup MultiXact. We need to do this early for two reasons: one
* is that we might try to access multixacts when we do tuple freezing,