mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Doc: Improve pg_replication_slots.inactive_since description.
Author: Peter Smith <smithpb2250@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Discussion: https://postgr.es/m/CAHut+PssvVMTWVtUPto6HbPO8pgVsvtzndt_FdBomA_Oq4zf3w@mail.gmail.com
This commit is contained in:
@ -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
|
The time when the slot became inactive. <literal>NULL</literal> if the
|
||||||
slot is currently being streamed. If the slot becomes invalid,
|
slot is currently being streamed. If the slot becomes invalid,
|
||||||
this value will never be updated.
|
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
|
primary server (whose <structfield>synced</structfield> field is
|
||||||
<literal>true</literal>), the <structfield>inactive_since</structfield>
|
<literal>true</literal>), the <structfield>inactive_since</structfield>
|
||||||
indicates the time when slot synchronization (see <xref
|
indicates the time when slot synchronization (see <xref
|
||||||
linkend="logicaldecoding-replication-slots-synchronization"/>)
|
linkend="logicaldecoding-replication-slots-synchronization"/>)
|
||||||
was most recently stopped. <literal>NULL</literal> if the slot
|
was most recently stopped. <literal>NULL</literal> if the slot
|
||||||
has always been synchronized. On standby, this is useful for slots
|
has always been synchronized. This helps standby slots track when
|
||||||
that are being synced from a primary server (whose
|
synchronization was interrupted.
|
||||||
<structfield>synced</structfield> field is <literal>true</literal>)
|
|
||||||
so they know when the slot stopped being synchronized.
|
|
||||||
</para></entry>
|
</para></entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user