Re: [PATCH] Refactoring of LWLock tranches - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] Refactoring of LWLock tranches
Date
Msg-id CA+TgmoaU_RktUT6a9MjaR7w9BFwJoYZ=ch8R7+DG_t5SV9c9WA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Refactoring of LWLock tranches  (Jesper Pedersen <jesper.pedersen@redhat.com>)
List pgsql-hackers
On Tue, Jan 5, 2016 at 8:54 AM, Jesper Pedersen
<jesper.pedersen@redhat.com> wrote:
> LWLock *
> GetLWLockAddinTranche(const char *tranche_name)
>
> would be nicer to work with for extensions IMHO. Not likely worth the
> trouble though.

That change would be easy to make, but would tend to make performance
worse for anyone who uses more than 1 lock.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: konstantin knizhnik
Date:
Subject: Optimizer questions
Next
From: Tom Lane
Date:
Subject: Re: Building pg_xlogdump reproducibly