Skip to content

Commit 6d6e136

Browse files
committed
Improve terminology
Use "prepared transaction" instead of "two-phrase transaction". This is in line with 0e60a50.
1 parent 5f10488 commit 6d6e136

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/ref/pg_recvlogical.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ PostgreSQL documentation
7575

7676
<para>
7777
The <option>--two-phase</option> can be specified with
78-
<option>--create-slot</option> to enable two-phase decoding.
78+
<option>--create-slot</option> to enable decoding of prepared transactions.
7979
</para>
8080
</listitem>
8181
</varlistentry>
@@ -273,7 +273,7 @@ PostgreSQL documentation
273273
<term><option>--two-phase</option></term>
274274
<listitem>
275275
<para>
276-
Enables two-phase decoding. This option should only be specified with
276+
Enables decoding of prepared transactions. This option may only be specified with
277277
<option>--create-slot</option>
278278
</para>
279279
</listitem>

src/bin/pg_basebackup/pg_recvlogical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ usage(void)
9494
printf(_(" -s, --status-interval=SECS\n"
9595
" time between status packets sent to server (default: %d)\n"), (standby_message_timeout / 1000));
9696
printf(_(" -S, --slot=SLOTNAME name of the logical replication slot\n"));
97-
printf(_(" -t, --two-phase enable two-phase decoding when creating a slot\n"));
97+
printf(_(" -t, --two-phase enable decoding of prepared transactions when creating a slot\n"));
9898
printf(_(" -v, --verbose output verbose messages\n"));
9999
printf(_(" -V, --version output version information, then exit\n"));
100100
printf(_(" -?, --help show this help, then exit\n"));

0 commit comments

Comments
 (0)