Skip to content

Commit 91d9de9

Browse files
committed
fix ReplicationSlotsCountDBSlots for dropping unrelated databases
YAMAMOTO Takashi
1 parent 55566c9 commit 91d9de9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/replication/slot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ ReplicationSlotsCountDBSlots(Oid dboid, int *nslots, int *nactive)
727727

728728
/* not database specific, skip */
729729
if (s->data.database == InvalidOid)
730+
continue;
730731

731732
/* not our database, skip */
732733
if (s->data.database != dboid)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy