]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Update outdated descriptions of wal_status in pg_replication_slots.
authorFujii Masao <fujii@postgresql.org>
Thu, 3 Jul 2025 14:07:23 +0000 (23:07 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 3 Jul 2025 14:09:07 +0000 (23:09 +0900)
commit0cd7fcaa857400fff28e31f0538d7824814c6863
treeb9e4fd18f7fcdecda3e581cb736a2d0b815d1375
parent8af310b331940ff5efd19402a3f8ee5521eb821a
doc: Update outdated descriptions of wal_status in pg_replication_slots.

The documentation for pg_replication_slots previously mentioned only
max_slot_wal_keep_size as a condition under which the wal_status column
could show unreserved or lost. However, since commit be87200,
replication slots can also be invalidated due to horizon or wal_level,
and since commit ac0e33136ab, idle_replication_slot_timeout can also
trigger this state.

This commit updates the description of the wal_status column to
reflect that max_slot_wal_keep_size is not the only cause of the lost state.

Back-patched to v16, where the additional invalidation cases were introduced.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Nisha Moond <nisha.moond412@gmail.com>
Discussion: https://postgr.es/m/78b34e84-2195-4f28-a151-5d204a382fdd@oss.nttdata.com
Backpatch-through: 16
doc/src/sgml/system-views.sgml