]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Remove incorrect note about wal_status in pg_replication_slots.
authorFujii Masao <fujii@postgresql.org>
Thu, 3 Jul 2025 07:06:26 +0000 (16:06 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 3 Jul 2025 07:06:26 +0000 (16:06 +0900)
The documentation previously stated that the wal_status column is NULL
if restart_lsn is NULL in the pg_replication_slots view. This is incorrect,
and wal_status can be "lost" even when restart_lsn is NULL.

This commit removes the incorrect description.

Back-patched to all supported versions.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Nisha Moond <nisha.moond412@gmail.com>
Discussion: https://postgr.es/m/c9d23cdc-b5dd-455a-8ee9-f1f24d701d89@oss.nttdata.com
Backpatch-through: 13

doc/src/sgml/catalogs.sgml

index 81a64de6773e8788536c5faebe06af25f20fa2d8..8256b6f3e64fcd7d4b482ff423fab3a28cc42880 100644 (file)
@@ -11595,8 +11595,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
        </itemizedlist>
        The last two states are seen only when
        <xref linkend="guc-max-slot-wal-keep-size"/> is
-       non-negative. If <structfield>restart_lsn</structfield> is NULL, this
-       field is null.
+       non-negative.
       </para></entry>
      </row>