Skip to content

Commit 382cc68

Browse files
committed
doc: Fix parameter name for pg_create_logical_replication_slot()
The parameter controlling if two-phase transactions can be decoded was named "two_phase" in the documentation while its procedure defines "twophase". Author: Florin Irion Discussion: https://postgr.es/m/5eeabd10-1aff-ea61-f92d-9fa0d9a7e207@gmail.com Backpatch-through: 14
1 parent e68fc64 commit 382cc68

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
@@ -25891,7 +25891,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2589125891
<indexterm>
2589225892
<primary>pg_create_logical_replication_slot</primary>
2589325893
</indexterm>
25894-
<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> )
25894+
<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> )
2589525895
<returnvalue>record</returnvalue>
2589625896
( <parameter>slot_name</parameter> <type>name</type>,
2589725897
<parameter>lsn</parameter> <type>pg_lsn</type> )
@@ -25904,7 +25904,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2590425904
the slot should not be permanently stored to disk and is only meant
2590525905
for use by the current session. Temporary slots are also
2590625906
released upon any error. The optional fourth parameter,
25907-
<parameter>two_phase</parameter>, when set to true, specifies
25907+
<parameter>twophase</parameter>, when set to true, specifies
2590825908
that the decoding of prepared transactions is enabled for this
2590925909
slot. A call to this function has the same effect as the replication
2591025910
protocol command <literal>CREATE_REPLICATION_SLOT ... LOGICAL</literal>.

0 commit comments

Comments
 (0)