Skip to content
Snippets Groups Projects
Commit 91d9de97 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

fix ReplicationSlotsCountDBSlots for dropping unrelated databases

YAMAMOTO Takashi
parent 55566c9a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment