Skip to content

Commit 0e60a50

Browse files
author
Amit Kapila
committed
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/745414e7-efb2-a6ae-5b83-fcbdf35aabc8@postgrespro.ru
1 parent fa351b1 commit 0e60a50

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

doc/src/sgml/protocol.sgml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6895,7 +6895,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
68956895
<term>Byte1('b')</term>
68966896
<listitem>
68976897
<para>
6898-
Identifies the message as the beginning of a two-phase transaction message.
6898+
Identifies the message as the beginning of a prepared transaction message.
68996899
</para>
69006900
</listitem>
69016901
</varlistentry>
@@ -6941,7 +6941,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
69416941
<term>String</term>
69426942
<listitem>
69436943
<para>
6944-
The user defined GID of the two-phase transaction.
6944+
The user defined GID of the prepared transaction.
69456945
</para>
69466946
</listitem>
69476947
</varlistentry>
@@ -6957,7 +6957,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
69576957
<term>Byte1('P')</term>
69586958
<listitem>
69596959
<para>
6960-
Identifies the message as a two-phase prepared transaction message.
6960+
Identifies the message as a prepared transaction message.
69616961
</para>
69626962
</listitem>
69636963
</varlistentry>
@@ -7012,7 +7012,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
70127012
<term>String</term>
70137013
<listitem>
70147014
<para>
7015-
The user defined GID of the two-phase transaction.
7015+
The user defined GID of the prepared transaction.
70167016
</para>
70177017
</listitem>
70187018
</varlistentry>
@@ -7028,7 +7028,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
70287028
<term>Byte1('K')</term>
70297029
<listitem>
70307030
<para>
7031-
Identifies the message as the commit of a two-phase transaction message.
7031+
Identifies the message as the commit of a prepared transaction message.
70327032
</para>
70337033
</listitem>
70347034
</varlistentry>
@@ -7046,7 +7046,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
70467046
<term>Int64 (XLogRecPtr)</term>
70477047
<listitem>
70487048
<para>
7049-
The LSN of the commit prepared.
7049+
The LSN of the commit of the prepared transaction.
70507050
</para>
70517051
</listitem>
70527052
</varlistentry>
@@ -7055,7 +7055,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
70557055
<term>Int64 (XLogRecPtr)</term>
70567056
<listitem>
70577057
<para>
7058-
The end LSN of the commit prepared transaction.
7058+
The end LSN of the commit of the prepared transaction.
70597059
</para>
70607060
</listitem>
70617061
</varlistentry>
@@ -7083,7 +7083,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
70837083
<term>String</term>
70847084
<listitem>
70857085
<para>
7086-
The user defined GID of the two-phase transaction.
7086+
The user defined GID of the prepared transaction.
70877087
</para>
70887088
</listitem>
70897089
</varlistentry>
@@ -7099,7 +7099,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
70997099
<term>Byte1('r')</term>
71007100
<listitem>
71017101
<para>
7102-
Identifies the message as the rollback of a two-phase transaction message.
7102+
Identifies the message as the rollback of a prepared transaction message.
71037103
</para>
71047104
</listitem>
71057105
</varlistentry>
@@ -7126,7 +7126,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
71267126
<term>Int64 (XLogRecPtr)</term>
71277127
<listitem>
71287128
<para>
7129-
The end LSN of the rollback prepared transaction.
7129+
The end LSN of the rollback of the prepared transaction.
71307130
</para>
71317131
</listitem>
71327132
</varlistentry>
@@ -7164,7 +7164,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
71647164
<term>String</term>
71657165
<listitem>
71667166
<para>
7167-
The user defined GID of the two-phase transaction.
7167+
The user defined GID of the prepared transaction.
71687168
</para>
71697169
</listitem>
71707170
</varlistentry>
@@ -7180,7 +7180,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
71807180
<term>Byte1('p')</term>
71817181
<listitem>
71827182
<para>
7183-
Identifies the message as a two-phase stream prepare message.
7183+
Identifies the message as a stream prepared transaction message.
71847184
</para>
71857185
</listitem>
71867186
</varlistentry>
@@ -7207,7 +7207,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
72077207
<term>Int64 (XLogRecPtr)</term>
72087208
<listitem>
72097209
<para>
7210-
The end LSN of the prepare transaction.
7210+
The end LSN of the prepared transaction.
72117211
</para>
72127212
</listitem>
72137213
</varlistentry>
@@ -7235,7 +7235,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
72357235
<term>String</term>
72367236
<listitem>
72377237
<para>
7238-
The user defined GID of the two-phase transaction.
7238+
The user defined GID of the prepared transaction.
72397239
</para>
72407240
</listitem>
72417241
</varlistentry>

0 commit comments

Comments
 (0)