Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)
Дата
Msg-id CA+hUKGJPp7Mxt7gCmboYbB=t0H7ASa99uou=Br5w88NFiEx==g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
On Thu, Nov 5, 2020 at 10:47 AM Ranier Vilela <ranier.vf@gmail.com> wrote:
> Em ter., 3 de nov. de 2020 às 22:09, Kyotaro Horiguchi <horikyota.ntt@gmail.com> escreveu:
>> If we call WaitLatch(OrSocket) that waits on the latch, it immediately
>> returns because the latch is set. If we called ResetLatch before the
>> next call to WaitLatch(), it correctly waits on a trigger to be
>> pulled.
>
> +1
> The patch for me is syntactically equal to the code changed and
> avoids the dereference.

Thanks!  Pushed.



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: A few new options for CHECKPOINT
Следующее
От: "tsunakawa.takay@fujitsu.com"
Дата:
Сообщение: RE: POC: postgres_fdw insert batching