aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-12-01 20:28:19 +0900
committerMichael Paquier <michael@paquier.xyz>2021-12-01 20:28:19 +0900
commit7799d4e3bdd14c90989d829a9b24e73d4ff4d4ad (patch)
tree99c6db521588d26b1b697df29aa6549d3a9a85ef /src
parent5786fe154b53caef8b226ed863312d3608b32a51 (diff)
downloadpostgresql-7799d4e3bdd14c90989d829a9b24e73d4ff4d4ad.tar.gz
postgresql-7799d4e3bdd14c90989d829a9b24e73d4ff4d4ad.zip
Fix comment grammar in slotfuncs.c
Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACUkrNR2xTak+QaqxoTjPKGn8zXWripv7SR27t+Q5qF1Wg@mail.gmail.com
Diffstat (limited to 'src')
-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 46175b70070..d11daeb1fc4 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);