Skip to content

Commit 80a1d16

Browse files
committed
Use clearer woring for pg_locks columns, identifying which items are
related to lock objects.
1 parent 0d29c37 commit 80a1d16

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6930,50 +6930,51 @@
69306930
<entry>
69316931
OID of the database in which the object exists, or
69326932
zero if the object is a shared object, or
6933-
null if the object is a transaction ID
6933+
null if the lock object is on a transaction ID
69346934
</entry>
69356935
</row>
69366936
<row>
69376937
<entry><structfield>relation</structfield></entry>
69386938
<entry><type>oid</type></entry>
69396939
<entry><literal><link linkend="catalog-pg-class"><structname>pg_class</structname></link>.oid</literal></entry>
69406940
<entry>
6941-
OID of the relation, or null if the object is not
6942-
a relation or part of a relation
6941+
OID of the relation, or null if the lock object is not
6942+
on a relation or part of a relation
69436943
</entry>
69446944
</row>
69456945
<row>
69466946
<entry><structfield>page</structfield></entry>
69476947
<entry><type>integer</type></entry>
69486948
<entry></entry>
69496949
<entry>
6950-
Page number within the relation, or null if the object
6951-
is not a tuple or relation page
6950+
Page number within the relation, or null if the lock object
6951+
is not on a tuple or relation page
69526952
</entry>
69536953
</row>
69546954
<row>
69556955
<entry><structfield>tuple</structfield></entry>
69566956
<entry><type>smallint</type></entry>
69576957
<entry></entry>
69586958
<entry>
6959-
Tuple number within the page, or null if the object is not a tuple
6959+
Tuple number within the page, or null if the lock object is not
6960+
on a tuple
69606961
</entry>
69616962
</row>
69626963
<row>
69636964
<entry><structfield>virtualxid</structfield></entry>
69646965
<entry><type>text</type></entry>
69656966
<entry></entry>
69666967
<entry>
6967-
Virtual ID of a transaction, or null if the object is not a
6968-
virtual transaction ID
6968+
Virtual ID of a transaction lock, or null if the lock object is not
6969+
on a virtual transaction ID
69696970
</entry>
69706971
</row>
69716972
<row>
69726973
<entry><structfield>transactionid</structfield></entry>
69736974
<entry><type>xid</type></entry>
69746975
<entry></entry>
69756976
<entry>
6976-
ID of a transaction, or null if the object is not a transaction ID
6977+
ID of a transaction lock, or null if the lock object is not on a transaction ID
69776978
</entry>
69786979
</row>
69796980
<row>
@@ -6982,7 +6983,7 @@
69826983
<entry><literal><link linkend="catalog-pg-class"><structname>pg_class</structname></link>.oid</literal></entry>
69836984
<entry>
69846985
OID of the system catalog containing the object, or null if the
6985-
object is not a general database object
6986+
lock object is not on a general database object.
69866987
</entry>
69876988
</row>
69886989
<row>
@@ -6991,7 +6992,7 @@
69916992
<entry>any OID column</entry>
69926993
<entry>
69936994
OID of the object within its system catalog, or null if the
6994-
object is not a general database object.
6995+
lock object is not on a general database object.
69956996
For advisory locks it is used to distinguish the two key
69966997
spaces (1 for an int8 key, 2 for two int4 keys).
69976998
</entry>
@@ -7004,7 +7005,7 @@
70047005
For a table column, this is the column number (the
70057006
<structfield>classid</> and <structfield>objid</> refer to the
70067007
table itself). For all other object types, this column is
7007-
zero. Null if the object is not a general database object
7008+
zero. Null if the lock object is not on a general database object.
70087009
</entry>
70097010
</row>
70107011
<row>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy