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:18:17 +0000 (21:18 -0400)
Use "prepared transaction" instead of "two-phrase transaction".  This
is in line with 0e60a50e0bf158bead247731e00cee95bcf64daf.

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

index 6d75b6fa4cb30c2bcbb9296afb1ff330dbf361f2..648d3f0f62c185774b0cafe27fa2badda620567e 100644 (file)
@@ -75,7 +75,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>
@@ -273,7 +273,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 4392e23e88814069d49bdb8b06142fc641f21e1d..5f2e6af44577176feb06835cd170b7e71a663554 100644 (file)
@@ -94,7 +94,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"));