Re: Make query cancellation keys longer - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Make query cancellation keys longer
Date
Msg-id 1995353.1725553289@sss.pgh.pa.us
Whole thread Raw
In response to Re: Make query cancellation keys longer  (Jacob Champion <jacob.champion@enterprisedb.com>)
Responses Re: Make query cancellation keys longer
List pgsql-hackers
Jacob Champion <jacob.champion@enterprisedb.com> writes:
> Has there been any work/discussion around not sending the cancel key
> in plaintext from psql? It's not a prerequisite or anything (the
> longer length is a clear improvement either way), but it seems odd
> that this longer "secret" is still just going to be exposed on the
> wire when you press Ctrl+C.

Wasn't this already addressed in v17, by

Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
2024-03-12 [61461a300] libpq: Add encrypted and non-blocking query cancellation

?  Perhaps we need to run around and make sure none of our standard
clients use the old API anymore, but the libpq infrastructure is
there already.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Test 041_checkpoint_at_promote.pl faild in installcheck due to missing injection_points
Next
From: Robert Haas
Date:
Subject: Re: scalability bottlenecks with (many) partitions (and more)