Skip to content

Commit 6f0dad8

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 e912319 commit 6f0dad8

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)