Skip to content

Commit 8d98556

Browse files
committed
Improve terminology
Use "prepared transaction" instead of "two-phrase transaction". This is in line with c5d6788.
1 parent 2b14b5b commit 8d98556

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
@@ -68,7 +68,7 @@ PostgreSQL documentation
6868

6969
<para>
7070
The <option>--two-phase</option> can be specified with
71-
<option>--create-slot</option> to enable two-phase decoding.
71+
<option>--create-slot</option> to enable decoding of prepared transactions.
7272
</para>
7373
</listitem>
7474
</varlistentry>
@@ -266,7 +266,7 @@ PostgreSQL documentation
266266
<term><option>--two-phase</option></term>
267267
<listitem>
268268
<para>
269-
Enables two-phase decoding. This option should only be specified with
269+
Enables decoding of prepared transactions. This option may only be specified with
270270
<option>--create-slot</option>
271271
</para>
272272
</listitem>

src/bin/pg_basebackup/pg_recvlogical.c

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

0 commit comments

Comments
 (0)