On Tue, Jan 5, 2016 at 8:54 AM, Jesper Pedersen <jesper.peder...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers