diff options
author | Amit Kapila <akapila@postgresql.org> | 2024-11-25 10:58:06 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2024-11-25 10:58:06 +0530 |
commit | 5f46439d5931c518b670058e66849d7994f07588 (patch) | |
tree | 4b17c7bfdb1b3400ca9974e40d8674f8c7f897d9 /src/backend | |
parent | 1a52069914ebf81ab8591f5b451fc9099529c211 (diff) | |
download | postgresql-5f46439d5931c518b670058e66849d7994f07588.tar.gz postgresql-5f46439d5931c518b670058e66849d7994f07588.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 ebfbaebe16c..73fe3f56af2 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -1516,7 +1516,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; |