1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Improve terminology

Use "prepared transaction" instead of "two-phrase transaction".  This
is in line with c5d67881d3.
This commit is contained in:
Peter Eisentraut
2022-09-23 21:16:08 -04:00
parent 2b14b5b5d9
commit 8d985560fc
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ PostgreSQL documentation
<para> <para>
The <option>--two-phase</option> can be specified with The <option>--two-phase</option> can be specified with
<option>--create-slot</option> to enable two-phase decoding. <option>--create-slot</option> to enable decoding of prepared transactions.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -266,7 +266,7 @@ PostgreSQL documentation
<term><option>--two-phase</option></term> <term><option>--two-phase</option></term>
<listitem> <listitem>
<para> <para>
Enables two-phase decoding. This option should only be specified with Enables decoding of prepared transactions. This option may only be specified with
<option>--create-slot</option> <option>--create-slot</option>
</para> </para>
</listitem> </listitem>

View File

@ -96,7 +96,7 @@ usage(void)
printf(_(" -s, --status-interval=SECS\n" printf(_(" -s, --status-interval=SECS\n"
" time between status packets sent to server (default: %d)\n"), (standby_message_timeout / 1000)); " time between status packets sent to server (default: %d)\n"), (standby_message_timeout / 1000));
printf(_(" -S, --slot=SLOTNAME name of the logical replication slot\n")); printf(_(" -S, --slot=SLOTNAME name of the logical replication slot\n"));
printf(_(" -t, --two-phase enable two-phase decoding when creating a slot\n")); printf(_(" -t, --two-phase enable decoding of prepared transactions when creating a slot\n"));
printf(_(" -v, --verbose output verbose messages\n")); printf(_(" -v, --verbose output verbose messages\n"));
printf(_(" -V, --version output version information, then exit\n")); printf(_(" -V, --version output version information, then exit\n"));
printf(_(" -?, --help show this help, then exit\n")); printf(_(" -?, --help show this help, then exit\n"));