pgsql: doc: Clarify when backend_xmin in pg_stat_replication can be NUL

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Clarify when backend_xmin in pg_stat_replication can be NUL
Date: 2025-10-17 05:04:57
Message-ID: E1v9ce9-0025mB-2d@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-10-17 05:40:37 pgsql: Improve TAP tests by replacing ok() with better Test::More funct
Previous Message Michael Paquier 2025-10-17 04:06:40 pgsql: Fix matching check in recovery test 042_low_level_backup