Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1412781

Browse files
committed
doc: Fix documenation for snapshot export in logical decoding.
The documentation for exported snapshots in logical decoding previouslystated that snapshot creation may fail on a hot standby. This is no longeraccurate, as snapshot exporting on standbys has been supported sincePostgreSQL 10. This commit removes the outdated description.Additionally, the docs referred to the NOEXPORT_SNAPSHOT option tosuppress snapshot exporting in CREATE_REPLICATION_SLOT. However,since PostgreSQL 15, NOEXPORT_SNAPSHOT is considered legacy syntaxand retained only for backward compatibility. This commit updatesthe documentation for v15 and later to use the modern equivalent:SNAPSHOT 'nothing'. The older syntax is preserved in documentation forv14 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.orgBackpatch-through: 13
1 parenta79ede0 commit1412781

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎doc/src/sgml/logicaldecoding.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,7 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
335335
using the slot's contents without losing any changes.
336336
</para>
337337
<para>
338-
Creation of a snapshot is not always possible. In particular, it will
339-
fail when connected to a hot standby. Applications that do not require
338+
Applications that do not require
340339
snapshot export may suppress it with the <literal>NOEXPORT_SNAPSHOT</literal>
341340
option.
342341
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp