Re: CancelRequest(F) documentation. - Mailing list pgsql-docs

From Magnus Hagander
Subject Re: CancelRequest(F) documentation.
Date
Msg-id CABUevEzvr7qS4cxQzwojVdhC_8_mQyKpVJWd0-_PtZXDfjHwbw@mail.gmail.com
Whole thread Raw
In response to Re: CancelRequest(F) documentation.  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
List pgsql-docs


On Mon, 13 Oct 2025 at 11:57, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
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.

Thanks, pushed!

--

pgsql-docs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: jsonb_strip_nulls() - extra semicolon in the definition
Next
From: PG Doc comments form
Date:
Subject: BPCHAR description in 8.3. Character Types is misleading and incomplete