forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
82 lines
7.3 KiB
HTML
82 lines
7.3 KiB
HTML
<a name="EN-US_TOPIC_0000001145494615"></a><a name="EN-US_TOPIC_0000001145494615"></a>
|
|
|
|
<h1 class="topictitle1">PG_RANGE</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001145494615__en-us_topic_0059778637_p27387208540"><strong id="EN-US_TOPIC_0000001145494615__b13478171417569">PG_RANGE</strong> records information about range types.</p>
|
|
<p id="EN-US_TOPIC_0000001145494615__ae211544e3a7f48edb8b5fbbcf2898099">This is in addition to the types' entries in <a href="dws_04_0629.html">PG_TYPE</a>.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145494615__t41bbb25ebef84ca4b7e315af97243ff9" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_RANGE columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145494615__rc22aa523045248da84963e1d8005b444"><th align="left" class="cellrowborder" valign="top" width="18.04%" id="mcps1.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001145494615__a446cf998674c4c96b876e8840c4c18f4">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.41%" id="mcps1.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001145494615__aaa6463faaafa4ce79360a3b2d3cc8193">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.76%" id="mcps1.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001145494615__a9cca28d978a642c3b1ebeeea6f468dbd">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.79%" id="mcps1.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001145494615__ad825b5b22c5a421e8838ef42248c7ac4">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001145494615__rcd406bbfe9b2450badb4a1ea702de068"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001145494615__a54418c5b349e45d6bd7b6233232ad1f2">rngtypid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001145494615__a2cb0a29891ab46d5aa9d0e5de8f1e798">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001145494615__a4b5ffa25830846adb546e691bb7d8cce"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001145494615__a8dd7ca197707462fbb4b31ed9645ffba">OID of the range type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494615__rff11745a58d84dc5abb938932a2676e5"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001145494615__a4c63ded819f54830a70967c191630c99">rngsubtype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001145494615__a93ae03c3116a40d7a85626e280a0141d">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001145494615__ac34601ab6a2847c28c8eac66f9e9fa0f"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001145494615__a9608f4a70bee462e872a1c532b4095e1">OID of the element type (subtype) of this range type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494615__r30abbccf13044006a9088b5555056354"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001145494615__aa4b621da14aa4f50ac47f00f27c406d1">rngcollation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001145494615__a05bae480e88f43d6b7e7f378c69583e1">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001145494615__a6c0382e2efa14abdb14c77f449994151"><a href="dws_04_0579.html">PG_COLLATION</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001145494615__a5652073eaec2452fb8696f7c8d246aa7">OID of the collation used for range comparisons, or 0 if none</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494615__r6f18c306785d45058c28eec1f3d5cc24"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001145494615__adad1c6fbb86c495f901b7fa1eeb0dd07">rngsubopc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001145494615__ae6f8657b107d42b6bf1730cdc9098a9e">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001145494615__a9454109021b447128912cff3b70b65c7"><a href="dws_04_0603.html">PG_OPCLASS</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001145494615__a82b8a159d55f45f680be0b436a501964">OID of the subtype's operator class used for range comparisons</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494615__r8ef2d4d526d54b7994a1c192ab43995d"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001145494615__a57e44f9b187c45d6991426deb30d07c3">rngcanonical</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001145494615__a9813b4b44fe34b1fabb6c50c26f1085e">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001145494615__a18e80f0206704544a5347da97b7ec06f"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001145494615__a949a9655762f434dabca611e4dec3685">OID of the function to convert a range value into canonical form, or 0 if none</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145494615__rb12cc3cd76684c8489b4e08a3be9e1e1"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001145494615__acffb3a03b5d14318af2a1c4b60ec19ab">rngsubdiff</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001145494615__a672dce0b1c454deabdcfb61d64697a13">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001145494615__af104e4e8e7ab4aaa84964744a0ddcd85"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001145494615__a725332fc18074e908708419a997cb4fc">OID of the function to return the difference between two element values as <strong id="EN-US_TOPIC_0000001145494615__b842352706113352">double precision</strong>, or 0 if none</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001145494615__a6750c0ac3c8749fdb3ff447409a7e413"><strong id="EN-US_TOPIC_0000001145494615__b842352706113433">rngsubopc</strong> (plus <strong id="EN-US_TOPIC_0000001145494615__b842352706113438">rngcollation</strong>, if the element type is collatable) determines the sort ordering used by the range type. <strong id="EN-US_TOPIC_0000001145494615__b13780871026">rngcanonical</strong> is used when the element type is discrete.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
|
|
</div>
|
|
</div>
|
|
|