Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
Date
Msg-id bbb929b1-76cd-4d25-bf67-0f41af9f7283@iki.fi
Whole thread
In response to Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore  (Jelte Fennema-Nio <postgres@jeltef.nl>)
List pgsql-hackers
On 06/07/2026 13:28, Jelte Fennema-Nio wrote:
> 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.

Thanks, pushed that part. Attached are the remaining patches, rebased 
over that.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Replace pg_atomic_flag with pg_atomic_bool
Next
From: "Tristan Partin"
Date:
Subject: Re: Add malloc attribute to memory allocation functions