Re: Can a child process detect postmaster death when in pg_usleep?

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: Can a child process detect postmaster death when in pg_usleep?
Дата
Msg-id CALj2ACW1cBkmcLr0uLcT5smrDTTF-0Hmb_OpWWjxjPFmRkXK3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can a child process detect postmaster death when in pg_usleep?  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Can a child process detect postmaster death when in pg_usleep?
Список pgsql-hackers
On Mon, Jul 5, 2021 at 9:25 PM Stephen Frost <sfrost@snowman.net> wrote:
> In general, I agree with Tom's up-thread comment about children hanging
> around after postmaster death making things more difficult for debugging
> and just in general, so I'm in favor of trying to eliminate as many
> cases where that's happening as we reasonably can without impacting
> performance by checking too often.

I agree. I'm attaching the patch that replaces pg_usleep with
WaitLatch for {pre, post}_auth_delay. I'm also attaching Michael's
latest patch stop-backup-latch-v2.patch, just for the sake of cfbot.

Regards,
Bharath Rupireddy.

Вложения

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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Can a child process detect postmaster death when in pg_usleep?
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Removed extra memory allocations from create_list_bounds