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

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)
Date: 2020-11-03 07:44:23
Message-ID: CA+hUKGLYw9B30E=JexqEh2Azc++D55MqppC92Jq69b+9T2Up7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 3, 2020 at 12:50 AM Kyotaro Horiguchi
<horikyota(dot)ntt(at)gmail(dot)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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hou, Zhijie 2020-11-03 07:59:51 RE: psql \df choose functions by their arguments
Previous Message Heikki Linnakangas 2020-11-03 07:38:36 Re: Split copy.c