]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in slot.c.
authorAmit Kapila <akapila@postgresql.org>
Tue, 6 Jan 2026 04:13:40 +0000 (04:13 +0000)
committerAmit Kapila <akapila@postgresql.org>
Tue, 6 Jan 2026 04:13:40 +0000 (04:13 +0000)
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

src/backend/replication/slot.c

index 75d26fa61ea2d5352d3a106d394d64b8b4ab098c..ce41441c581bdaa33568a985e7175cc72f967296 100644 (file)
@@ -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)
        {