mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Show xid and xmin in pg_stat_activity and pg_stat_replication.
Christian Kruse, reviewed by Andres Freund and myself, with further minor adjustments by me.
This commit is contained in:
@ -628,6 +628,16 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
||||
</itemizedlist>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>backend_xid</structfield></entry>
|
||||
<entry><type>xid</type></entry>
|
||||
<entry>Toplevel transaction identifier of this backend, if any.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>backend_xmin</structfield></entry>
|
||||
<entry><type>xid</type></entry>
|
||||
<entry>The current backend's <literal>xmin</> horizon.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>query</></entry>
|
||||
<entry><type>text</></entry>
|
||||
@ -1483,6 +1493,12 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
||||
client connected to this WAL sender
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>backend_xid</structfield></entry>
|
||||
<entry><type>xid</type></entry>
|
||||
<entry>This standby's <literal>xmin</> horizon reported
|
||||
by <xref linkend="guc-hot-standby-feedback">.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>state</></entry>
|
||||
<entry><type>text</></entry>
|
||||
|
Reference in New Issue
Block a user