Re: BufferAlloc: don't take two simultaneous locks

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: andres(at)anarazel(dot)de
Cc: y(dot)sokolov(at)postgrespro(dot)ru, michail(dot)nikolaev(at)gmail(dot)com, x4mmm(at)yandex-team(dot)ru, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: BufferAlloc: don't take two simultaneous locks
Date: 2022-02-25 09:14:33
Message-ID: 20220225.181433.1850893059973506674.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Fri, 25 Feb 2022 00:04:55 -0800, Andres Freund <andres(at)anarazel(dot)de> wrote in
> Why don't you just use LockBufHdr/UnlockBufHdr?

FWIW, v2 looked fine to me in regards to this point.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yura Sokolov 2022-02-25 09:24:40 Re: BufferAlloc: don't take two simultaneous locks
Previous Message Kyotaro Horiguchi 2022-02-25 08:14:12 Re: Add checkpoint and redo LSN to LogCheckpointEnd log message