postgres.git / summary / log / commit / refs
commit 63ed3bc7f9a66035e0b741aaa542de35a90fe1cc
Author: Amit Kapila <akapila@postgresql.org>
Date: Tue Jan 06 04:13:40 2026 +0000
First released in: 19.0
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
src/backend/replication/slot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 75d26fa61ea..ce41441c581 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -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)
{
[parent: ae283736025c]