Re: Make query cancellation keys longer

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: Make query cancellation keys longer
Дата
Msg-id CAOYmi+kR0-jNmZWF5fQdo+81Qtgv=Qj-6kj9COXXGOpP63rwZw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Make query cancellation keys longer  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Sep 5, 2024 at 9:21 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Right. From a quick grep, it looks like we have seven binaries using
the signal-based cancel handler.

(For programs that only send a cancel request right before they break
the connection, it's probably not worth a huge amount of effort to
change it right away, but for psql in particular I think the status
quo is a little weird.)

Thanks,
--Jacob



В списке pgsql-hackers по дате отправления: