diff options
author | Amit Kapila | 2025-02-18 03:53:43 +0000 |
---|---|---|
committer | Amit Kapila | 2025-02-18 03:53:43 +0000 |
commit | 164bac92f08ccddd6701d44a5338d72c22f7b5c2 (patch) | |
tree | 8935b75da4e8e3c899342b600e934dc5ad146657 | |
parent | 2509b857cc1067be628291864289f27325760477 (diff) |
Doc: Improve pg_replication_slots.inactive_since description.
Author: Peter Smith <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Discussion: https://postgr.es/m/CAHut+PssvVMTWVtUPto6HbPO8pgVsvtzndt_FdBomA_Oq4zf3w@mail.gmail.com
-rw-r--r-- | doc/src/sgml/system-views.sgml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index be81c2b51d2..ad2903d5ac7 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -2568,16 +2568,14 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx The time when the slot became inactive. <literal>NULL</literal> if the slot is currently being streamed. If the slot becomes invalid, this value will never be updated. - Note that for slots on the standby that are being synced from a + For standby slots that are being synced from a primary server (whose <structfield>synced</structfield> field is <literal>true</literal>), the <structfield>inactive_since</structfield> indicates the time when slot synchronization (see <xref linkend="logicaldecoding-replication-slots-synchronization"/>) was most recently stopped. <literal>NULL</literal> if the slot - has always been synchronized. On standby, this is useful for slots - that are being synced from a primary server (whose - <structfield>synced</structfield> field is <literal>true</literal>) - so they know when the slot stopped being synchronized. + has always been synchronized. This helps standby slots track when + synchronization was interrupted. </para></entry> </row> |