We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7329240 commit a9a47fbCopy full SHA for a9a47fb
src/backend/replication/slot.c
@@ -465,10 +465,7 @@ ReplicationSlotAcquire(const char *name, bool nowait)
465
466
LWLockAcquire(ReplicationSlotControlLock, LW_SHARED);
467
468
- /*
469
- * Search for the slot with the specified name if the slot to acquire is
470
- * not given. If the slot is not found, we either return -1 or error out.
471
- */
+ /* Check if the slot exits with the given name. */
472
s = SearchNamedReplicationSlot(name, false);
473
if (s == NULL || !s->in_use)
474
{
0 commit comments