Re: stopgap fix for signal handling during restore_command

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: stopgap fix for signal handling during restore_command
Дата
Msg-id CA+hUKGLJuRBN=ZmaWK1CsHsCUq_6sHkE4LjKJPt=EMS_NQszvg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: stopgap fix for signal handling during restore_command  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Fri, Feb 24, 2023 at 1:25 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> ENOCOFFEE

Erm, I realised after sending that I'd accidentally sent a version
that uses fork() anyway, and now if I change it back to vfork() it
doesn't fail the way I wanted to demonstrate, at least on Linux.  I
don't have time or desire to dig into how Linux vfork() really works
so I'll leave it at that... but the patch as posted does seem to be a
useful tool for understanding this failure... please just ignore the
confused comments about fork() vs vfork() therein.



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: pgsql: Refactor to add pg_strcoll(), pg_strxfrm(), and variants.
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Add LZ4 compression in pg_dump