diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-18 22:40:40 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-18 22:40:40 +0000 |
commit | 9b4cda0df674e0c7b70aa61d768471a97205113f (patch) | |
tree | 6c92849a8922458b69723b2640d85ec916aa48b1 /doc/src | |
parent | f7f308d6a6c8cfffa61ab79be9c338726fb2cfb6 (diff) |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 2201a687eb7..bc5592ce746 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.132 2006/09/16 20:14:32 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.133 2006/09/18 22:40:36 tgl Exp $ --> <!-- Documentation of the system catalogs, directed toward PostgreSQL developers --> @@ -5029,9 +5029,14 @@ </para> <para> - If user-defined locks are in use, they are displayed using the columns - for general database objects. However, the actual meaning of the lock - fields in such cases is up to the user. + User-defined locks can be acquired on keys consisting of either a single + bigint value or two integer values. A bigint key is displayed with its + high-order half in the <structfield>classid</> column, its low-order half + in the <structfield>objid</> column, and <structfield>objsubid</> equal + to 1. Integer keys are displayed with the first key in the + <structfield>classid</> column, the second key in the <structfield>objid</> + column, and <structfield>objsubid</> equal to 2. The actual meaning of + the keys is up to the user. </para> <para> |