Re: Dereference before NULL check (src/backend/storage/ipc/latch.c) - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)
Date
Msg-id CA+hUKGLYw9B30E=JexqEh2Azc++D55MqppC92Jq69b+9T2Up7A@mail.gmail.com
Whole thread Raw
In response to Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
On Tue, Nov 3, 2020 at 12:50 AM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
> With the fix patch, it changes to:
>
> [16632] LOG:  FALSE LATCH: 0000000000000000

Nice repo.  But is it OK to not reset the Win32 event in this case?
Does it still work correctly if you wait on the latch after that
happened, and perhaps after the PG latch is reset?



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Split copy.c
Next
From: "Hou, Zhijie"
Date:
Subject: RE: psql \df choose functions by their arguments