Fix comment grammar in slotfuncs.c
authorMichael Paquier <michael@paquier.xyz>
Wed, 1 Dec 2021 11:28:19 +0000 (20:28 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 1 Dec 2021 11:28:19 +0000 (20:28 +0900)
Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACUkrNR2xTak+QaqxoTjPKGn8zXWripv7SR27t+Q5qF1Wg@mail.gmail.com

src/backend/replication/slotfuncs.c

index 46175b7007051d6766e9a1c4c99663e4d25cb680..d11daeb1fc4e2b6b9cec279cc1223ddb3bddf03d 100644 (file)
@@ -414,7 +414,7 @@ pg_get_replication_slots(PG_FUNCTION_ARGS)
 
            XLByteToSeg(slot_contents.data.restart_lsn, targetSeg, wal_segment_size);
 
-           /* determine how many segments slots can be kept by slots */
+           /* determine how many segments can be kept by slots */
            slotKeepSegs = XLogMBVarToSegs(max_slot_wal_keep_size_mb, wal_segment_size);
            /* ditto for wal_keep_size */
            keepSegs = XLogMBVarToSegs(wal_keep_size_mb, wal_segment_size);