Re: Make query cancellation keys longer

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Make query cancellation keys longer
Дата
Msg-id 1995353.1725553289@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Make query cancellation keys longer  (Jacob Champion <jacob.champion@enterprisedb.com>)
Ответы Re: Make query cancellation keys longer
Список 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 по дате отправления: