From ea061b3f16a9449fd49d4188dde9620d7992ebbf Mon Sep 17 00:00:00 2001
From: Daniil Davidov <d.davydov@postgrespro.ru>
Date: Mon, 5 Jan 2026 17:17:56 +0700
Subject: [PATCH v2 2/2] Improve comments for ReplicationSlotAcquire

---
 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 ee520aa9433..f8f0c1e2fc0 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -629,7 +629,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)
 	{
-- 
2.43.0

