mirror of
https://github.com/postgres/postgres.git
synced 2026-01-26 09:41:40 +03:00
Fix typo in slot.c.
Author: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/AC9B87F1-ED04-4547-B85C-9443B4253A08@gmail.com Discussion: https://postgr.es/m/CAJDiXggZXQZ7bD0QcTizDt6us9aX6ZKK4dWxzgb5x3+TsVHjqQ@mail.gmail.com
This commit is contained in:
@@ -635,7 +635,7 @@ retry:
|
||||
|
||||
LWLockAcquire(ReplicationSlotControlLock, LW_SHARED);
|
||||
|
||||
/* Check if the slot exits with the given name. */
|
||||
/* Check if the slot exists with the given name. */
|
||||
s = SearchNamedReplicationSlot(name, false);
|
||||
if (s == NULL || !s->in_use)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user