]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Fix documenation for snapshot export in logical decoding.
authorFujii Masao <fujii@postgresql.org>
Mon, 26 May 2025 03:50:01 +0000 (12:50 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 26 May 2025 03:50:01 +0000 (12:50 +0900)
commit14127818e6a01f2a88055ae46c3ef0517a3bf2b4
tree478ecb4a8136c4d26d59b9fc0a4d8e019fad77e2
parenta79ede0a4ebff1434d6ffd2a15339a1c574bbf6e
doc: Fix documenation for snapshot export in logical decoding.

The documentation for exported snapshots in logical decoding previously
stated that snapshot creation may fail on a hot standby. This is no longer
accurate, as snapshot exporting on standbys has been supported since
PostgreSQL 10. This commit removes the outdated description.

Additionally, the docs referred to the NOEXPORT_SNAPSHOT option to
suppress snapshot exporting in CREATE_REPLICATION_SLOT. However,
since PostgreSQL 15, NOEXPORT_SNAPSHOT is considered legacy syntax
and retained only for backward compatibility. This commit updates
the documentation for v15 and later to use the modern equivalent:
SNAPSHOT 'nothing'. The older syntax is preserved in documentation for
v14 and earlier.

Back-patched to all supported branches.

Reported-by: Kevin K Biju <kevinkbiju@gmail.com>
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Kevin K Biju <kevinkbiju@gmail.com>
Discussion: https://postgr.es/m/174791480466.798.17122832105389395178@wrigleys.postgresql.org
Backpatch-through: 13
doc/src/sgml/logicaldecoding.sgml