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

Commit6f0dad8

Browse files
committed
doc: Fix parameter name for pg_create_logical_replication_slot()
The parameter controlling if two-phase transactions can be decoded wasnamed "two_phase" in the documentation while its procedure defines"twophase".Author: Florin IrionDiscussion:https://postgr.es/m/5eeabd10-1aff-ea61-f92d-9fa0d9a7e207@gmail.comBackpatch-through: 14
1 parente912319 commit6f0dad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26380,7 +26380,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset((pg_backup_stop()).lsn);
2638026380
<indexterm>
2638126381
<primary>pg_create_logical_replication_slot</primary>
2638226382
</indexterm>
26383-
<function>pg_create_logical_replication_slot</function> ( <parameter>slot_name</parameter> <type>name</type>, <parameter>plugin</parameter> <type>name</type> <optional>, <parameter>temporary</parameter> <type>boolean</type>, <parameter>two_phase</parameter> <type>boolean</type> </optional> )
26383+
<function>pg_create_logical_replication_slot</function> ( <parameter>slot_name</parameter> <type>name</type>, <parameter>plugin</parameter> <type>name</type> <optional>, <parameter>temporary</parameter> <type>boolean</type>, <parameter>twophase</parameter> <type>boolean</type> </optional> )
2638426384
<returnvalue>record</returnvalue>
2638526385
( <parameter>slot_name</parameter> <type>name</type>,
2638626386
<parameter>lsn</parameter> <type>pg_lsn</type> )
@@ -26393,7 +26393,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset((pg_backup_stop()).lsn);
2639326393
the slot should not be permanently stored to disk and is only meant
2639426394
for use by the current session. Temporary slots are also
2639526395
released upon any error. The optional fourth parameter,
26396-
<parameter>two_phase</parameter>, when set to true, specifies
26396+
<parameter>twophase</parameter>, when set to true, specifies
2639726397
that the decoding of prepared transactions is enabled for this
2639826398
slot. A call to this function has the same effect as the replication
2639926399
protocol command <literal>CREATE_REPLICATION_SLOT ... LOGICAL</literal>.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp