fix ReplicationSlotsCountDBSlots for dropping unrelated databases

YAMAMOTO Takashi
pull/6/head
Bruce Momjian 12 years ago
parent 55566c9a74
commit 91d9de9751
  1. 1
      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)

Loading…
Cancel
Save