Re: psql not responding to SIGINT upon db reconnection

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: psql not responding to SIGINT upon db reconnection
Дата
Msg-id CAGECzQRmbNRz4hQ8JhbopAZLgAg_cQyT+zPxq4u9-kEHXqyXJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql not responding to SIGINT upon db reconnection  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: psql not responding to SIGINT upon db reconnection  ("Tristan Partin" <tristan@neon.tech>)
Re: psql not responding to SIGINT upon db reconnection  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 2 Apr 2024 at 16:33, Robert Haas <robertmhaas@gmail.com> wrote:
> Committed it, I did. My thanks for working on this issue, I extend.

Looking at the committed version of this patch, the pg_unreachable
calls seemed weird to me. 1 is actually incorrect, thus possibly
resulting in undefined behaviour. And for the other call an imho
better fix would be to remove the now 21 year unused enum variant,
instead of introducing its only reference in the whole codebase.

Attached are two trivial patches, feel free to remove both of the
pg_unreachable calls.

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCH] Modify pg_ctl to detect presence of geek user
Следующее
От: Jakub Wartak
Дата:
Сообщение: Re: pg_combinebackup --copy-file-range