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 83daa551-5f45-4683-920f-e62ed94b06a8@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>)
Responses Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
List pgsql-hackers
On 04/07/2026 01:28, Jelte Fennema-Nio wrote:
>> The comments you added in your patches help a lot, explaining the three
>> different ways that cancellation can be handled, thanks for that.
> 
> Yeah, I think

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?

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Zsolt Parragi
Date:
Subject: Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
Next
From: Alexander Nestorov
Date:
Subject: Re: [PATCH] btree_gist: add cross-type integer operator support for GiST