Re: stopgap fix for signal handling during restore_command

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: stopgap fix for signal handling during restore_command
Дата
Msg-id 20230225220629.GA1021641@nathanxps13
обсуждение исходный текст
Ответ на Re: stopgap fix for signal handling during restore_command  (Andres Freund <andres@anarazel.de>)
Ответы Re: stopgap fix for signal handling during restore_command
Список pgsql-hackers
On Sat, Feb 25, 2023 at 11:52:53AM -0800, Andres Freund wrote:
> I think I opined on this before, but we really ought to have a function to do
> some minimal signal safe output. Implemented centrally, instead of being open
> coded in a bunch of places.

While looking around for the right place to put this, I noticed that
there's a write_stderr() function in elog.c that we might be able to use.
I used that in v9.  WDYT?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Evaluate arguments of correlated SubPlans in the referencing ExprState
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: windows/meson cfbot warnings