CancelRequest(F) documentation.

From: Dmitry Igrishin <dmitigr(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: CancelRequest(F) documentation.
Date: 2025-10-07 16:08:22
Message-ID: CAAfz9KML7JCZWZsOc2AWgoUHgmRGoOAOR6L=xDFe9F3_L1uXAQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hello,

CancelRequest(F) documentation at
https://www.postgresql.org/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-CANCELREQUEST
seems to be inconsistent for protocol 3.2. It is stated here that the
length of the message is always 16 bytes (specified as Int32(16)),
however the maximum message length actually depends on the secret key
length (which can be up to 256 bytes, as also stated in the
documentation.)

I would propose to specify the overall message length as Int32 in the
documentation for PostgreSQL 18+.

Thanks.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2025-10-07 22:27:14 UNION does not append
Previous Message Álvaro Herrera 2025-10-07 13:32:06 Re: Little Typo on Presskit 18