From 80a1d16935099124047bc6faaf9f549130a172b3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 13 Jul 2011 11:41:39 -0400 Subject: [PATCH] Use clearer woring for pg_locks columns, identifying which items are related to lock objects. --- doc/src/sgml/catalogs.sgml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index d4a1d3686f0..c5851afefa8 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -6930,7 +6930,7 @@ OID of the database in which the object exists, or zero if the object is a shared object, or - null if the object is a transaction ID + null if the lock object is on a transaction ID @@ -6938,8 +6938,8 @@ oid pg_class.oid - OID of the relation, or null if the object is not - a relation or part of a relation + OID of the relation, or null if the lock object is not + on a relation or part of a relation @@ -6947,8 +6947,8 @@ integer - Page number within the relation, or null if the object - is not a tuple or relation page + Page number within the relation, or null if the lock object + is not on a tuple or relation page @@ -6956,7 +6956,8 @@ smallint - Tuple number within the page, or null if the object is not a tuple + Tuple number within the page, or null if the lock object is not + on a tuple @@ -6964,8 +6965,8 @@ text - Virtual ID of a transaction, or null if the object is not a - virtual transaction ID + Virtual ID of a transaction lock, or null if the lock object is not + on a virtual transaction ID @@ -6973,7 +6974,7 @@ xid - ID of a transaction, or null if the object is not a transaction ID + ID of a transaction lock, or null if the lock object is not on a transaction ID @@ -6982,7 +6983,7 @@ pg_class.oid OID of the system catalog containing the object, or null if the - object is not a general database object + lock object is not on a general database object. @@ -6991,7 +6992,7 @@ any OID column OID of the object within its system catalog, or null if the - object is not a general database object. + lock object is not on a general database object. For advisory locks it is used to distinguish the two key spaces (1 for an int8 key, 2 for two int4 keys). @@ -7004,7 +7005,7 @@ For a table column, this is the column number (the classid and objid refer to the table itself). For all other object types, this column is - zero. Null if the object is not a general database object + zero. Null if the lock object is not on a general database object.