Added changes related to the latest master (for individual LWLocksdefinitions)
----Ildus KurbangalievPostgres Professional: http://www.postgrespro.comThe Russian Postgres Company