projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55566c9
)
fix ReplicationSlotsCountDBSlots for dropping unrelated databases
author
Bruce Momjian
<bruce@momjian.us>
Fri, 7 Mar 2014 16:42:18 +0000
(11:42 -0500)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 7 Mar 2014 16:42:18 +0000
(11:42 -0500)
YAMAMOTO Takashi
src/backend/replication/slot.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/replication/slot.c
b/src/backend/replication/slot.c
index 45ed7e40e894f9a4831b30f8e016766a3071c5a7..76e5573660511bd08281017588e80d13e5079537 100644
(file)
--- a/
src/backend/replication/slot.c
+++ b/
src/backend/replication/slot.c
@@
-727,6
+727,7
@@
ReplicationSlotsCountDBSlots(Oid dboid, int *nslots, int *nactive)
/* not database specific, skip */
if (s->data.database == InvalidOid)
+ continue;
/* not our database, skip */
if (s->data.database != dboid)