Re: [HACKERS] [BUG FIX] Removing NamedLWLockTrancheArray - Mailing list pgsql-hackers

From Kyotaro HORIGUCHI
Subject Re: [HACKERS] [BUG FIX] Removing NamedLWLockTrancheArray
Date
Msg-id 20170309.142427.105057039.horiguchi.kyotaro@lab.ntt.co.jp
Whole thread Raw
In response to Re: [HACKERS] [BUG FIX] Removing NamedLWLockTrancheArray  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
At Mon, 6 Mar 2017 19:32:25 +0530, Amit Kapila <amit.kapila16@gmail.com> wrote in
<CAA4eK1LdjtsN3tpB0HJW0vfahd=Hgoq5LRy=eNh1CJZ=0WmCBg@mail.gmail.com>
> In RegisterLWLockTranches(), we do register the named tranches as well
> which should make it available in LWLockTrancheArray.  Do you see any
> reason why that shouldn't work?

Ouch! I mingled the two cases
together. RequestNamedLWLockTranche'd tranches are registerd in
the main tranche array.

Sorry for the noise and thanks a lot for kindly answering me.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Adding the optional clause 'AS' in CREATE TRIGGER
Next
From: Rushabh Lathia
Date:
Subject: Re: [HACKERS] wait events for disk I/O