git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 55566c9)
fix ReplicationSlotsCountDBSlots for dropping unrelated databases
Fri, 7 Mar 2014 16:42:18 +0000 (11:42 -0500)
Fri, 7 Mar 2014 16:42:18 +0000 (11:42 -0500)
YAMAMOTO Takashi


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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /