mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user