summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila2022-08-10 11:11:31 +0000
committerAmit Kapila2022-08-10 11:11:31 +0000
commit0e60a50e0bf158bead247731e00cee95bcf64daf (patch)
tree9b9280f2ff5cc8984d3300e0b53e3179b887cd39
parentfa351b1b1321fe4b9f5201d8ebb6aa42cff27fad (diff)
Improve the protocol message descriptions for 2PC logical replication.
The messages were using 'two-phase transaction' at some places and 'prepared transaction' at other places. Make them consistently use 'prepared transaction'. Reported-by: Ekaterina Kiryanova Author: Peter Smith Reviewed by: Amit Kapila Backpatch-through: 15 Discussion: https://postgr.es/m/[email protected]
-rw-r--r--doc/src/sgml/protocol.sgml28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 0d4b720cfd..87870c5b10 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -6895,7 +6895,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Byte1('b')</term>
<listitem>
<para>
- Identifies the message as the beginning of a two-phase transaction message.
+ Identifies the message as the beginning of a prepared transaction message.
</para>
</listitem>
</varlistentry>
@@ -6941,7 +6941,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>String</term>
<listitem>
<para>
- The user defined GID of the two-phase transaction.
+ The user defined GID of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -6957,7 +6957,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Byte1('P')</term>
<listitem>
<para>
- Identifies the message as a two-phase prepared transaction message.
+ Identifies the message as a prepared transaction message.
</para>
</listitem>
</varlistentry>
@@ -7012,7 +7012,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>String</term>
<listitem>
<para>
- The user defined GID of the two-phase transaction.
+ The user defined GID of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7028,7 +7028,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Byte1('K')</term>
<listitem>
<para>
- Identifies the message as the commit of a two-phase transaction message.
+ Identifies the message as the commit of a prepared transaction message.
</para>
</listitem>
</varlistentry>
@@ -7046,7 +7046,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Int64 (XLogRecPtr)</term>
<listitem>
<para>
- The LSN of the commit prepared.
+ The LSN of the commit of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7055,7 +7055,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Int64 (XLogRecPtr)</term>
<listitem>
<para>
- The end LSN of the commit prepared transaction.
+ The end LSN of the commit of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7083,7 +7083,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>String</term>
<listitem>
<para>
- The user defined GID of the two-phase transaction.
+ The user defined GID of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7099,7 +7099,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Byte1('r')</term>
<listitem>
<para>
- Identifies the message as the rollback of a two-phase transaction message.
+ Identifies the message as the rollback of a prepared transaction message.
</para>
</listitem>
</varlistentry>
@@ -7126,7 +7126,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Int64 (XLogRecPtr)</term>
<listitem>
<para>
- The end LSN of the rollback prepared transaction.
+ The end LSN of the rollback of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7164,7 +7164,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>String</term>
<listitem>
<para>
- The user defined GID of the two-phase transaction.
+ The user defined GID of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7180,7 +7180,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Byte1('p')</term>
<listitem>
<para>
- Identifies the message as a two-phase stream prepare message.
+ Identifies the message as a stream prepared transaction message.
</para>
</listitem>
</varlistentry>
@@ -7207,7 +7207,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>Int64 (XLogRecPtr)</term>
<listitem>
<para>
- The end LSN of the prepare transaction.
+ The end LSN of the prepared transaction.
</para>
</listitem>
</varlistentry>
@@ -7235,7 +7235,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
<term>String</term>
<listitem>
<para>
- The user defined GID of the two-phase transaction.
+ The user defined GID of the prepared transaction.
</para>
</listitem>
</varlistentry>