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

From Jelte Fennema-Nio
Subject Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
Date
Msg-id DFE79YWE1WMQ.3PW5S3JWD0LU1@jeltef.nl
Whole thread Raw
In response to Don't use the deprecated and insecure PQcancel in our frontend tools anymore  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
List pgsql-hackers
On Sun Dec 14, 2025 at 3:40 PM CET, Jelte Fennema-Nio wrote:
> A bunch of frontend tools, including psql, still used PQcancel to send
> cancel requests to the server. That function is insecure, because it
> does not use encryption to send the cancel request. This starts using
> the new cancellation APIs (introduced in 61461a300) for all these
> frontend tools.

Fixed conflict after Copyright update.

Attachment

pgsql-hackers by date:

Previous
From: "zengman"
Date:
Subject: Re: [PATCH] aio: Refactor to deduplicate shared and local completion callbacks
Next
From: Andres Freund
Date:
Subject: Re: lsyscache: free IndexAmRoutine objects returned by GetIndexAmRoutineByAmId()