Re: CancelRequest(F) documentation.

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: "Dmitry Igrishin" <dmitigr(at)gmail(dot)com>, <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: CancelRequest(F) documentation.
Date: 2025-10-13 09:57:06
Message-ID: DDH3SILR7S7U.3A5Z7VNFCJJJA@jeltef.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue Oct 7, 2025 at 6:08 PM CEST, Dmitry Igrishin wrote:
> 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.)

Good catch. Attached is a patch that fixes this.

Attachment Content-Type Size
v1-0001-docs-Fix-protocol-version-3.2-message-format-of-C.patch text/x-patch 1.1 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Oleg 2025-10-13 10:51:52 Re: Documentation improvement patch
Previous Message Daniel Gustafsson 2025-10-10 07:15:51 Re: Documentation improvement patch