Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ea6c9d

Browse files
committed
Update doc mention of how to compute bigint advisory lock value, per Tom
Lane's correction.
1 parent 095e6c5 commit 5ea6c9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7413,8 +7413,8 @@
74137413
high-order half in the <structfield>classid</> column, its low-order half
74147414
in the <structfield>objid</> column, and <structfield>objsubid</> equal
74157415
to 1. The original <type>bigint</type> value can be reassembled with the
7416-
expression <literal>(classid::int::bit(64) &lt;&lt; 32 |
7417-
objid::int::bit(64))::bigint</literal>. Integer keys are displayed with the
7416+
expression <literal>(classid::bigint &lt;&lt; 32) |
7417+
objid::bigint</literal>. Integer keys are displayed with the
74187418
first key in the
74197419
<structfield>classid</> column, the second key in the <structfield>objid</>
74207420
column, and <structfield>objsubid</> equal to 2. The actual meaning of

0 commit comments

Comments
 (0)