From 6d6e1368722c664eef547d59ab23a29e555778c8 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 23 Sep 2022 21:16:08 -0400 Subject: [PATCH] Improve terminology Use "prepared transaction" instead of "two-phrase transaction". This is in line with 0e60a50e0bf158bead247731e00cee95bcf64daf. --- doc/src/sgml/ref/pg_recvlogical.sgml | 4 ++-- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml index 6d75b6fa4cb..648d3f0f62c 100644 --- a/doc/src/sgml/ref/pg_recvlogical.sgml +++ b/doc/src/sgml/ref/pg_recvlogical.sgml @@ -75,7 +75,7 @@ PostgreSQL documentation The can be specified with - to enable two-phase decoding. + to enable decoding of prepared transactions. @@ -273,7 +273,7 @@ PostgreSQL documentation - Enables two-phase decoding. This option should only be specified with + Enables decoding of prepared transactions. This option may only be specified with diff --git a/src/bin/pg_basebackup/pg_recvlogical.c b/src/bin/pg_basebackup/pg_recvlogical.c index 4392e23e888..5f2e6af4457 100644 --- a/src/bin/pg_basebackup/pg_recvlogical.c +++ b/src/bin/pg_basebackup/pg_recvlogical.c @@ -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"));