Re: psql not responding to SIGINT upon db reconnection

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Re: psql not responding to SIGINT upon db reconnection
Дата
Msg-id D0AJY9Z5ZMZ9.2VJ9MN7NLKI2O@neon.tech
обсуждение исходный текст
Ответ на Re: psql not responding to SIGINT upon db reconnection  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Список pgsql-hackers
On Wed Apr 3, 2024 at 8:32 AM CDT, Jelte Fennema-Nio wrote:
> 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.

Patches look good. Sorry about causing you to do some work.

--
Tristan Partin
Neon (https://neon.tech)



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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is it safe to cache data by GiST consistent function