diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index 5386e86aa6b..c0f7fbb2b29 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -331,8 +331,6 @@ ReplicationSlotAcquire(const char *name) Assert(MyReplicationSlot == NULL); - ReplicationSlotValidateName(name, ERROR); - /* Search for the named slot and mark it active if we find it. */ LWLockAcquire(ReplicationSlotControlLock, LW_SHARED); for (i = 0; i < max_replication_slots; i++)