summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2021-12-01 11:28:19 +0000
committerMichael Paquier2021-12-01 11:28:19 +0000
commit7799d4e3bdd14c90989d829a9b24e73d4ff4d4ad (patch)
tree99c6db521588d26b1b697df29aa6549d3a9a85ef
parent5786fe154b53caef8b226ed863312d3608b32a51 (diff)
Fix comment grammar in slotfuncs.c
Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACUkrNR2xTak+QaqxoTjPKGn8zXWripv7SR27t+Q5qF1Wg@mail.gmail.com
-rw-r--r--src/backend/replication/slotfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c
index 46175b7007..d11daeb1fc 100644
--- a/src/backend/replication/slotfuncs.c
+++ b/src/backend/replication/slotfuncs.c
@@ -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);