typo_stat_exits_to_exists.patch

text/x-patch

Filename: typo_stat_exits_to_exists.patch
Type: text/x-patch
Part: 0
Message: typo fix in pgstat.c: "exits should be exists"

Patch

Format: unified
File+
src/backend/postmaster/pgstat.c 1 1
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c
index 4c4b072068..5ba776e789 100644
--- a/src/backend/postmaster/pgstat.c
+++ b/src/backend/postmaster/pgstat.c
@@ -1504,7 +1504,7 @@ pgstat_reset_replslot_counter(const char *name)
 		ReplicationSlot *slot;
 
 		/*
-		 * Check if the slot exits with the given name. It is possible that by
+		 * Check if the slot exists with the given name. It is possible that by
 		 * the time this message is executed the slot is dropped but at least
 		 * this check will ensure that the given name is for a valid slot.
 		 */