Doc: Update logical replication message formats.
authorAmit Kapila <akapila@postgresql.org>
Thu, 24 Jun 2021 06:21:58 +0000 (11:51 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 24 Jun 2021 06:21:58 +0000 (11:51 +0530)
Commits 9de77b5453 and ac4645c015 missed to update the logical replication
message formats section in the docs.

Author: Brar Piening
Reviewed-by: Amit Kapila
Discussion: https://www.postgresql.org/message-id/cc70956c-e578-e54f-49e6-b5d68c89576f@gmx.de

doc/src/sgml/protocol.sgml

index bc2a2feb0b95173444d2cde69f1b3ee1c0e6b2a5..01e87617f4051da1e2576d95747633f77b6aaf63 100644 (file)
@@ -6498,6 +6498,18 @@ Message
 </para>
 </listitem>
 </varlistentry>
+
+<varlistentry>
+<term>
+        Int32
+</term>
+<listitem>
+<para>
+                Length of the content.
+</para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>
         Byte<replaceable>n</replaceable>
@@ -7430,6 +7442,19 @@ TupleData
 </para>
 </listitem>
 </varlistentry>
+</variablelist>
+        Or
+<variablelist>
+<varlistentry>
+<term>
+        Byte1('b')
+</term>
+<listitem>
+<para>
+                Identifies the data as binary formatted value.
+</para>
+</listitem>
+</varlistentry>
 <varlistentry>
 <term>
         Int32
@@ -7446,8 +7471,8 @@ TupleData
 </term>
 <listitem>
 <para>
-                The value of the column, in text format.  (A future release
-                might support additional formats.)
+                The value of the column, either in binary or in text format.
+                (As specified in the preceding format byte).
                 <replaceable>n</replaceable> is the above length.
 
 </para>