pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify when backend_xmin in pg_stat_replication can be NUL
Date: Fri, 17 Oct 2025 05:04:57 +0000
Message-ID: <E1v9ce9-0025mB-2d@gemulon.postgresql.org> (raw)

doc: Clarify when backend_xmin in pg_stat_replication can be NULL.

Improve the documentation of pg_stat_replication to explain when
the backend_xmin column becomes NULL. This happens when
a replication slot is used (the xmin is then shown in pg_replication_slots)
or when hot_standby_feedback is disabled.

Author: Renzo Dani <arons7@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CA+XOKQAMXzskpdUmj2sg03_5fmiXc2Gs0r3TX1_rmcFcqh+=xQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e64aa1a39d4b8a9502be8ed8dfd67efd6f6acf28

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 4 ++++
1 file changed, 4 insertions(+)



Message-ID: <E1v9ce9-0025mB-2d@gemulon.postgresql.org>
Permalink:  ../E1v9ce9-0025mB-2d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v9ce9-0025mB-2d@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Clarify when backend_xmin in pg_stat_replication can be NUL
  In-Reply-To: <E1v9ce9-0025mB-2d@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox