Fix pg_locks view to call advisory locks advisory locks, while preserving
Tom Lane <tgl@sss.pgh.pa.us>
Fix pg_locks view to call advisory locks advisory locks, while preserving backward compatibility for anyone using the old userlock code that's now on pgfoundry --- locks from that code still show as 'userlock'.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +7 −5 |
| src/backend/storage/lmgr/deadlock.c | modified | +10 −2 |
| src/backend/storage/lmgr/lmgr.c | modified | +2 −1 |
| src/backend/utils/adt/lockfuncs.c | modified | +9 −7 |
| src/include/storage/lock.h | modified | +5 −4 |