Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore

Jelte Fennema-Nio <postgres@jeltef.nl>

From: Jelte Fennema-Nio <postgres@jeltef.nl>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Alvaro Herrera <alvherre@alvh.no-ip.org>, Jacob Champion <jacob.champion@enterprisedb.com>
Date: 2026-07-06T10:28:23Z
Lists: pgsql-hackers
On Sun, 5 Jul 2026 at 00:58, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I extracted just the comment in fe_utils/cancel.c to a separate patch,
> and modified it to reflect the reality before the rest of the changes.
> I'm inclined to commit that now to document the status quo. That'll also
> make it easier to see what the other patches change. Does the attached
> look correct to you?

Sounds good and yeah looks correct.