protocol-5.patch

application/octet-stream

Filename: protocol-5.patch
Type: application/octet-stream
Part: 0
Message: Re: Correct documentation for protocol version

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
doc/src/sgml/protocol.sgml 9 4
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index a746c967053..a8e10d3970b 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -5317,8 +5317,10 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
        <term>Byte1('v')</term>
        <listitem>
         <para>
-         Identifies the message as a protocol version negotiation
-         message.
+         Identifies the message as a protocol version negotiation message.
+         The server sends this message when the client requests a newer
+         protocol version than the server supports, or when the client
+         includes protocol options that the server does not recognize.
         </para>
        </listitem>
       </varlistentry>
@@ -5336,8 +5338,11 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
        <term>Int32</term>
        <listitem>
         <para>
-         Newest minor protocol version supported by the server
-         for the major protocol version requested by the client.
+         The latest protocol version supported by the server if the client
+         requests a newer protocol version than the server supports.
+         The protocol version requested by the client, otherwise.
+         The most significant 16 bits are the major version number, and the least
+         significant 16 bits are the minor version number.
         </para>
        </listitem>
       </varlistentry>