]> granicus.if.org Git - postgresql/commitdiff
Update doc mention of how to compute bigint advisory lock value, per Tom
authorBruce Momjian <bruce@momjian.us>
Tue, 28 Aug 2012 16:17:11 +0000 (12:17 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 28 Aug 2012 16:17:22 +0000 (12:17 -0400)
Lane's correction.

doc/src/sgml/catalogs.sgml

index bf568f181137a940081ca171b3a9169351b95ff6..3bcd82cbdd352cb82ef6394d06c14213aac251b6 100644 (file)
    high-order half in the <structfield>classid</> column, its low-order half
    in the <structfield>objid</> column, and <structfield>objsubid</> equal
    to 1. The original <type>bigint</type> value can be reassembled with the
-   expression <literal>(classid::int::bit(64) &lt;&lt; 32 |
-   objid::int::bit(64))::bigint</literal>. Integer keys are displayed with the
+   expression <literal>(classid::bigint &lt;&lt; 32) |
+   objid::bigint</literal>. 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