Fix typo in pgstat.c.
authorFujii Masao <fujii@postgresql.org>
Tue, 6 Apr 2021 05:09:40 +0000 (14:09 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 6 Apr 2021 05:09:40 +0000 (14:09 +0900)
Introduced by 9868167500.

Author: Vignesh C
Discussion: https://postgr.es/m/CALDaNm1DqgaLBAJrtGznKk1sR1mH-augmp7LfGvxWwTUhah+rg@mail.gmail.com

src/backend/postmaster/pgstat.c

index 4c4b07206819922ab3b2c6069109e53fe98c9bff..5ba776e789449b0d33143b1f8197424a17e6637d 100644 (file)
@@ -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.
                 */