Re: [HACKERS] Hang in pldebugger after git commit : 98a64d0

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Hang in pldebugger after git commit : 98a64d0
Дата
Msg-id CAB7nPqQ5TsUUN2GbRdSTCi6=+a-a8djhGdG2CULg5QUR5aDWnw@mail.gmail.com
обсуждение исходный текст
Ответ на Hang in pldebugger after git commit : 98a64d0  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Ответы Re: [HACKERS] Hang in pldebugger after git commit : 98a64d0  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On Fri, Dec 9, 2016 at 3:23 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> This basically means that if the latch is set, we don't wait at all
> and drop the ball. I am wondering: isn't that a problem even if
> WL_LATCH_SET is *not* set? If I read this code correctly, even if
> caller has not set WL_LATCH_SET and the latch is set, then the wait
> will stop.

Nah. I misread the code. set->latch is not NULL only if WL_LATCH_SET is enabled.
-- 
Michael



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Transactions involving multiple postgres foreign servers
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] `array_position...()` causes SIGSEGV