diff options
Diffstat (limited to 'src/backend/replication/walsender.c')
-rw-r--r-- | src/backend/replication/walsender.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c index 9e5611574cc..06e8b790360 100644 --- a/src/backend/replication/walsender.c +++ b/src/backend/replication/walsender.c @@ -595,7 +595,7 @@ StartReplication(StartReplicationCmd *cmd) if (cmd->slotname) { - ReplicationSlotAcquire(cmd->slotname, true); + (void) ReplicationSlotAcquire(cmd->slotname, SAB_Error); if (SlotIsLogical(MyReplicationSlot)) ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), @@ -1132,7 +1132,7 @@ StartLogicalReplication(StartReplicationCmd *cmd) Assert(!MyReplicationSlot); - ReplicationSlotAcquire(cmd->slotname, true); + (void) ReplicationSlotAcquire(cmd->slotname, SAB_Error); /* * Force a disconnect, so that the decoding code doesn't need to care |