]> 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:03:19 +0000 (16:03 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 3 Jul 2025 07:05:39 +0000 (16:05 +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/system-views.sgml

index f36a89cc74aea18337a7388423447fc9c1b54535..7b36190145a72ba09eefe70a98e00b479ab4ab55 100644 (file)
@@ -2495,8 +2495,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>