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

Commit05af876

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 parent449f1d0 commit05af876

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
@@ -26353,7 +26353,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset((pg_backup_stop()).lsn);
2635326353
<indexterm>
2635426354
<primary>pg_create_logical_replication_slot</primary>
2635526355
</indexterm>
26356-
<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> )
26356+
<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> )
2635726357
<returnvalue>record</returnvalue>
2635826358
( <parameter>slot_name</parameter> <type>name</type>,
2635926359
<parameter>lsn</parameter> <type>pg_lsn</type> )
@@ -26366,7 +26366,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset((pg_backup_stop()).lsn);
2636626366
the slot should not be permanently stored to disk and is only meant
2636726367
for use by the current session. Temporary slots are also
2636826368
released upon any error. The optional fourth parameter,
26369-
<parameter>two_phase</parameter>, when set to true, specifies
26369+
<parameter>twophase</parameter>, when set to true, specifies
2637026370
that the decoding of prepared transactions is enabled for this
2637126371
slot. A call to this function has the same effect as the replication
2637226372
protocol command <literal>CREATE_REPLICATION_SLOT ... LOGICAL</literal>.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp