Re: Double partition lock in bufmgr

From: Zhihong Yu <zyu(at)yugabyte(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Double partition lock in bufmgr
Date: 2020-12-19 07:53:47
Message-ID: CALNJ-vSuE6hUYFiHp-X7G2Y5G6PBUYCGnP6i4=iD2MaSfGdtkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
w.r.t. the code in BufferAlloc(), the pointers are compared.

Should we instead compare the tranche Id of the two LWLock ?

Cheers

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2020-12-19 08:55:22 Re: Asynchronous Append on postgres_fdw nodes.
Previous Message Pavel Stehule 2020-12-19 06:57:35 Re: proposal: schema variables