From dfd9ba68bc52b8d0a78908227084520cad98cea3 Mon Sep 17 00:00:00 2001
From: Renzo Dani <arons7@gmail.com>
Date: Thu, 16 Oct 2025 08:26:14 +0200
Subject: [PATCH v3] Extend documentation for pg_stat_replication.backend_xmin

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

diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index dc4fc29466d..d5f0fb7ba7c 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -1287,6 +1287,10 @@ description | Waiting for a newly initialized WAL file to reach durable storage
       <para>
        This standby's <literal>xmin</literal> horizon reported
        by <xref linkend="guc-hot-standby-feedback"/>.
+       This field will be null if a replication slot is used (in this case,
+       the standby's <literal>xmin</literal> is shown in
+       <link linkend="view-pg-replication-slots">pg_replication_slots</link>)
+       or if <varname>hot_standby_feedback</varname> is disabled.
       </para></entry>
      </row>
 
-- 
2.43.0

