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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Can a child process detect postmaster death when in pg_usleep?
Дата
Msg-id YOQPWVueHM6dalt1@paquier.xyz
обсуждение исходный текст
Ответ на Re: Can a child process detect postmaster death when in pg_usleep?  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Can a child process detect postmaster death when in pg_usleep?
Список pgsql-hackers
On Tue, Jul 06, 2021 at 12:42:21PM +0530, Bharath Rupireddy wrote:
> I'm sorry to say that I didn't get what was said above. We reset the
> latch after we come out of WaitLatch but not before going to wait. And
> the reason to have WL_LATCH_SET, is to exit the wait loop if MyLatch
> is set for that process because of other SetLatch events. Am I missing
> something here?

Did you test the patch with post_auth_delay and a backend connection,
making sure that the delay gets correctly applied?  I did, and that
was not working here.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: ECPG bug fix: DECALRE STATEMENT and DEALLOCATE, DESCRIBE
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: .ready and .done files considered harmful