Add built-in userlock manipulation functions to replace the former

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9b4cda0df674e0c7b70aa61d768471a97205113f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-09-18T22:40:40Z
Releases: 8.2.0
Add built-in userlock manipulation functions to replace the former
contrib functionality.  Along the way, remove the USER_LOCKS configuration
symbol, since it no longer makes any sense to try to compile that out.
No user documentation yet ... mmoncure has promised to write some.
Thanks to Abhijit Menon-Sen for creating a first draft to work from.

Files