Re: pgsql: Allow SIGINT to cancel psql database reconnections.

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: pgsql: Allow SIGINT to cancel psql database reconnections.
Дата
Msg-id CAPpHfdt0KiF+QRZHidEgRKHeih4Z8aDeC6dMnqsDGwx1VP+gsA@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Allow SIGINT to cancel psql database reconnections.  (Robert Haas <rhaas@postgresql.org>)
Ответы Re: pgsql: Allow SIGINT to cancel psql database reconnections.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-committers
On Tue, Apr 2, 2024 at 5:30 PM Robert Haas <rhaas@postgresql.org> wrote:
> Allow SIGINT to cancel psql database reconnections.
>
> After installing the SIGINT handler in psql, SIGINT can no longer cancel
> database reconnections. For instance, if the user starts a reconnection
> and then needs to do some form of interaction (ie psql is polling),
> there is no way to cancel the reconnection process currently.
>
> Use PQconnectStartParams() in order to insert a cancel_pressed check
> into the polling loop.
>
> Tristan Partin, reviewed by Gurjeet Singh, Heikki Linnakangas, Jelte
> Fennema-Nio, and me.
>
> Discussion: http://postgr.es/m/D08WWCPVHKHN.3QELIKZJ2D9RZ@neon.tech

This appears to have missing pgindent.
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=koel&dt=2024-04-02%2021%3A19%3A02

------
Regards,
Alexander Korotkov



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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Don't zero tuple_fraction when planning UNIONs with ORDER BYs