Files
doc-exports/docs/dws/dev/dws_04_0609.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

82 lines
7.6 KiB
HTML

<a name="EN-US_TOPIC_0000001764650884"></a><a name="EN-US_TOPIC_0000001764650884"></a>
<h1 class="topictitle1">PG_RANGE</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001764650884__en-us_topic_0059778637_p27387208540"><strong id="EN-US_TOPIC_0000001764650884__b13478171417569">PG_RANGE</strong> records information about range types.</p>
<p id="EN-US_TOPIC_0000001764650884__a7017a551a69d48579bddb51c8c29cec3">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_0000001764650884__tf788214ff6c54ff28442ad86eff1e8eb" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_RANGE columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764650884__rce02eac3d1f042c1889227ad829f3ef4"><th align="left" class="cellrowborder" valign="top" width="18.04%" id="mcps1.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001764650884__a25bfb0a3ef2e42ca8890c3548803fdd2"><strong id="EN-US_TOPIC_0000001764650884__b57126437306">Column</strong></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_0000001764650884__a642cd76a2c0e4a378ae481e162406d1d"><strong id="EN-US_TOPIC_0000001764650884__b3410145193010">Type</strong></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_0000001764650884__aa06d340eef594ad5b01209e0d2377169"><strong id="EN-US_TOPIC_0000001764650884__b203754763019">Reference</strong></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_0000001764650884__afb96a3ef3d624a869fc86b2a010a7510"><strong id="EN-US_TOPIC_0000001764650884__b181201649163017">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001764650884__rba287c70ffcd48bb95b2217a7c032ac8"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001764650884__a836942ce6724403d955b49ca72774506">rngtypid</p>
</td>
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001764650884__abc2aee0dced3447ca41fa98d1a4c3a91">OID</p>
</td>
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001764650884__ad7de1f882fa647a994028c8f2a99c457"><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_0000001764650884__a249c5aa11419493b9357a337b5fdd447">OID of the range type</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650884__r4acae44eb31e490393c868d798d0b404"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001764650884__aebde0513dc2f4acfa7835c299ed18fd4">rngsubtype</p>
</td>
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001764650884__ab37835e0a47847eba6f28afeb6eb9110">OID</p>
</td>
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001764650884__ae5929a0ab7474f6abe2a2e6ba5bb3a17"><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_0000001764650884__a6092fb3f6d7d4c0cb9b9f21523f7b693">OID of the element type (subtype) of this range type</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650884__r5f06e9e656af4eb89fe98ea8fc422c2b"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001764650884__ab2ace1003a3e4274b13933f3fd6acaa6">rngcollation</p>
</td>
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001764650884__a4f15badbdef54f9bb67e249a56eb2422">OID</p>
</td>
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001764650884__a9a50b1d9a69143d0acb90616b0672a95"><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_0000001764650884__a5ec91a946e5b46eaa08488183c3c9a0b">OID of the collation used for range comparisons, or 0 if none</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650884__r23827ce051ae47edae754e0d150aa9a2"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001764650884__a94e94e364ce449069c1168b8d55a9ba4">rngsubopc</p>
</td>
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001764650884__adc5678e58c824293b087a44d19bce49f">OID</p>
</td>
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001764650884__abf223af342324d208d954c90304bf0bf"><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_0000001764650884__a35c02319601d4d3f83ca3d6d3fd64f29">OID of the subtype's operator class used for range comparisons</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650884__r4d0499e3c4a740faa2ef353c2d994659"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001764650884__ac389cfdd7e5e4906b74368efbeb8d0cb">rngcanonical</p>
</td>
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001764650884__ae4beac0dd75543e4a7e0f5824e5e0848">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001764650884__afce0f9711def461093ea4ef782b85524"><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_0000001764650884__a0bbcb9bd6cb64b299faeb4ad22029cd4">OID of the function to convert a range value into canonical form, or 0 if none</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764650884__rfd9bd6691ea0444abfb18f37ade1b96f"><td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001764650884__a1bb4cce81e3343e1ba143040923abd0e">rngsubdiff</p>
</td>
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001764650884__a0505598244dd48bf8b2598011e2b8dc3">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.76%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001764650884__a9c5fcd5284274007bef06ef4c7ccdbbb"><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_0000001764650884__a3bf3a4b317f04f0c9e3915f03a286af3">OID of the function to return the difference between two element values as <strong id="EN-US_TOPIC_0000001764650884__b842352706113352">double precision</strong>, or 0 if none</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001764650884__a344328cba25344f9ad47eaed2f0afc92"><strong id="EN-US_TOPIC_0000001764650884__b842352706113433">rngsubopc</strong> (plus <strong id="EN-US_TOPIC_0000001764650884__b842352706113438">rngcollation</strong>, if the element type is collatable) determines the sort ordering used by the range type. <strong id="EN-US_TOPIC_0000001764650884__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>