Re: BUG #19080: CancelRequest message documentation bug

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: doomedseer(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: BUG #19080: CancelRequest message documentation bug
Date: 2025-10-10 03:16:32
Message-ID: CANWCAZZfDH1QtsdQYWoRqjow2r_DVO0TFdUYgqWG+UKsOP+69A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Oct 9, 2025 at 9:21 PM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> Starting from 18 version field "Length of message contents in bytes,
> including self." should not have predefined value, due to variable key
> length. Now it set as (16).

Seems like an oversight, since the docs describe the v3.2 protocol.
I've attached a fix and CC'd the committer to confirm.

--
John Naylor
Amazon Web Services

Attachment Content-Type Size
protocol-varlen-cancelrequest.patch text/x-patch 476 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2025-10-10 09:44:10 BUG #19082: Failing assert in index scan
Previous Message ocean_li_996 2025-10-10 03:01:19 Re:BUG #19070: issue with DETACH PARTITION CONCURRENTLY on a hash partition table