diff options
author | Amit Kapila <akapila@postgresql.org> | 2024-11-25 11:12:32 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2024-11-25 11:12:32 +0530 |
commit | d05a387d9d78a65db2c960d4f309a2649d183066 (patch) | |
tree | adcc83c08e60586a76083993678896bffe0101e5 /src/backend | |
parent | db80507d98462d95f2f7f8c1a58e55bb6337c3eb (diff) | |
download | postgresql-d05a387d9d78a65db2c960d4f309a2649d183066.tar.gz postgresql-d05a387d9d78a65db2c960d4f309a2649d183066.zip |
Doc: Clarify the `inactive_since` field description.
Updated to specify that it represents the exact time a slot became
inactive, rather than the period of inactivity.
Reported-by: Peter Smith
Author: Bruce Momjian, Nisha Moond
Reviewed-by: Amit Kapila, Peter Smith
Backpatch-through: 17
Discussion: https://postgr.es/m/CAHut+PuvsyA5v8y7rYoY9mkDQzUhwaESM05yCByTMaDoRh30tA@mail.gmail.com
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/replication/logical/slotsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c index d62186a5107..f4f80b23129 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -1515,7 +1515,7 @@ update_synced_slots_inactive_since(void) * correctly interpret the inactive_since if the standby gets promoted * without a restart. We don't want the slots to appear inactive for a * long time after promotion if they haven't been synchronized recently. - * Whoever acquires the slot i.e.makes the slot active will reset it. + * Whoever acquires the slot, i.e., makes the slot active, will reset it. */ if (!StandbyMode) return; |