Re: [BUG FIX] Removing NamedLWLockTrancheArray

From: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
To: amit(dot)kapila16(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUG FIX] Removing NamedLWLockTrancheArray
Date: 2017-03-09 05:24:27
Message-ID: 20170309.142427.105057039.horiguchi.kyotaro@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Mon, 6 Mar 2017 19:32:25 +0530, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote in <CAA4eK1LdjtsN3tpB0HJW0vfahd=Hgoq5LRy=eNh1CJZ=0WmCBg(at)mail(dot)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rushabh Lathia 2017-03-09 05:24:51 Re: wait events for disk I/O
Previous Message Tom Lane 2017-03-09 05:19:38 Re: Adding the optional clause 'AS' in CREATE TRIGGER