]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Improve terminology
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 24 Sep 2022 01:16:08 +0000 (21:16 -0400)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 24 Sep 2022 01:16:08 +0000 (21:16 -0400)
Use "prepared transaction" instead of "two-phrase transaction".  This
is in line with c5d67881d343a507269bde124a49df19e0296157.

doc/src/sgml/ref/pg_recvlogical.sgml
src/bin/pg_basebackup/pg_recvlogical.c

index 1a882254095c4790fc4aabd5b424535634969db1..7c01a5c3ba3b5190f35fb318ec5c729e58fe74d4 100644 (file)
@@ -68,7 +68,7 @@ PostgreSQL documentation
 
        <para>
         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>
       </listitem>
      </varlistentry>
@@ -266,7 +266,7 @@ PostgreSQL documentation
        <term><option>--two-phase</option></term>
        <listitem>
        <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>
        </para>
        </listitem>
index b59ff23f6125e732b57a9dc8015a70d3f2ec23af..02b8e272c370727cfffce068d81b673611bb0706 100644 (file)
@@ -96,7 +96,7 @@ usage(void)
        printf(_("  -s, --status-interval=SECS\n"
                         "                         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(_("  -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, --version          output version information, then exit\n"));
        printf(_("  -?, --help             show this help, then exit\n"));