Doc: Improve pg_replication_slots.inactive_since description.
authorAmit Kapila
Tue, 18 Feb 2025 03:53:43 +0000 (09:23 +0530)
committerAmit Kapila
Tue, 18 Feb 2025 03:53:43 +0000 (09:23 +0530)
Author: Peter Smith 
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAHut+PssvVMTWVtUPto6HbPO8pgVsvtzndt_FdBomA_Oq4zf3w@mail.gmail.com

doc/src/sgml/system-views.sgml

index be81c2b51d27258fb21db7236dfff2b8bd8b4923..ad2903d5ac743cf42bbf19a8ea9b752fb933afa0 100644 (file)
@@ -2568,16 +2568,14 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
         The time when the slot became inactive. NULL 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 synced field is
         true), the inactive_since
         indicates the time when slot synchronization (see 
         linkend="logicaldecoding-replication-slots-synchronization"/>)
         was most recently stopped.  NULL if the slot
-        has always been synchronized. On standby, this is useful for slots
-        that are being synced from a primary server (whose
-        synced field is true)
-        so they know when the slot stopped being synchronized.
+        has always been synchronized. This helps standby slots track when
+        synchronization was interrupted.