docs: Fix protocol version 3.2 message format of CancelRequest
authorMagnus Hagander <[email protected]>
Mon, 13 Oct 2025 13:31:25 +0000 (15:31 +0200)
committerMagnus Hagander <[email protected]>
Mon, 13 Oct 2025 13:31:25 +0000 (15:31 +0200)
Since protocol version 3.2 the CancelRequest does not have a fixed size
length anymore. The protocol docs still listed the length field to be a
constant number though. This fixes that.

Author: Jelte Fennema-Nio <[email protected]>
Reported-by: Dmitry Igrishin <[email protected]>
Backpatch-through: 18

doc/src/sgml/protocol.sgml

index b5395604fb8b793c2670f97ab9d09a4b97cea13e..9d7552328736153879570f0b124a5139799cc306 100644 (file)
@@ -4327,7 +4327,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
     <listitem>
      <variablelist>
       <varlistentry>
-       <term>Int32(16)</term>
+       <term>Int32</term>
        <listitem>
         <para>
          Length of message contents in bytes, including self.