]> granicus.if.org Git - postgresql/commit
Code cleanup in the wake of recent LWLock refactoring.
authorRobert Haas <rhaas@postgresql.org>
Wed, 10 Feb 2016 14:58:09 +0000 (09:58 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 10 Feb 2016 14:58:09 +0000 (09:58 -0500)
commit79a7ff0fe56ac9d782b0734ebb0e7a5299015e58
tree331aad28117f7575792128c7725b1e7ba9f042b6
parent019e78813760e664a85f505b5953d362a2b468cc
Code cleanup in the wake of recent LWLock refactoring.

As of commit c1772ad9225641c921545b35c84ee478c326b95e, there's no
longer any way of requesting additional LWLocks in the main tranche,
so we don't need NumLWLocks() or LWLockAssign() any more.  Also,
some of the allocation counters that we had previously aren't needed
any more either.

Amit Kapila
src/backend/storage/lmgr/lwlock.c
src/include/storage/lwlock.h