Re: Is abort() still needed in WalSndShutdown()?

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Is abort() still needed in WalSndShutdown()?
Дата
Msg-id CAHGQGwFaOJ_obx-XjwLmZW2sF7a9RqeOO4jxkKpG18GaFoiu=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is abort() still needed in WalSndShutdown()?  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Mon, Jan 26, 2026 at 9:33 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> Yeah. Nowadays pg_noreturn is understood by all supported compilers.
> There are no guarantees on what the compiler will do with the
> information, but I would expect it to silence that warning on any
> half-decent compiler. (But as discussed, this is moot anyway because the
> returns 'void')
>
> > I'm thinking to remove the abort() call from WalSndShutdown() in the
> > attached patch.
>
> +1

Thanks for the check! I've pushed the patch.

Regards,

--
Fujii Masao



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