Files
doc-exports/docs/dws/dev/dws_04_0595.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

53 lines
4.6 KiB
HTML

<a name="EN-US_TOPIC_0000001764491644"></a><a name="EN-US_TOPIC_0000001764491644"></a>
<h1 class="topictitle1">PG_INHERITS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001764491644__en-us_topic_0059777685_p646824945215"><strong id="EN-US_TOPIC_0000001764491644__b2091331341211">PG_INHERITS</strong> records information about table inheritance hierarchies. There is one entry for each direct child table in the database. Indirect inheritance can be determined by following chains of entries.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764491644__t99dfb44312944ee69d71f4b86b2ba987" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_INHERITS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764491644__r8704474a05f145f98cd209c1b6a78d3d"><th align="left" class="cellrowborder" valign="top" width="15.229999999999999%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001764491644__a8166e93399e54804955c4334ae2a1b4b"><strong id="EN-US_TOPIC_0000001764491644__b11621183611258">Column</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.350000000000001%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001764491644__a0d9875f642b54cd2af7eb533690219ee"><strong id="EN-US_TOPIC_0000001764491644__b67408389258">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.68%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001764491644__ac78eaa39a74d440e9bc4accf45c74ef3"><strong id="EN-US_TOPIC_0000001764491644__b1813134013252">Reference</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="47.74%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001764491644__ad44283d305b44aa293ea3d8f365d4dc6"><strong id="EN-US_TOPIC_0000001764491644__b5804104214258">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001764491644__r00165ea22674415e901ec1a546bcd901"><td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001764491644__a77142d8b252941cfb14880c9640cd8e1">inhrelid</p>
</td>
<td class="cellrowborder" valign="top" width="13.350000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001764491644__acbf88e69302e4eeca512f718160b3109">OID</p>
</td>
<td class="cellrowborder" valign="top" width="23.68%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001764491644__aed4e1bf7f4064944bf5928ab5e81fcb5"><a href="dws_04_0578.html">PG_CLASS</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="47.74%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001764491644__a1ad66fb9292347a489f6fce9671307be">OID of the child table.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491644__r71f340020a6f41ac8da4e72f039d72ca"><td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001764491644__a542e402c4593488baac2786223939d44">inhparent</p>
</td>
<td class="cellrowborder" valign="top" width="13.350000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001764491644__aff18b051a7fd4cfda0fcf80aaf14f2ba">OID</p>
</td>
<td class="cellrowborder" valign="top" width="23.68%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001764491644__a678ab84ba1a14de7b428fbedc2991dba"><a href="dws_04_0578.html">PG_CLASS</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="47.74%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001764491644__a07df4f20459349fb84626343839f084c">OID of the parent table.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491644__r6f8d4d9ed718438491d33218afc00610"><td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001764491644__a976bbcc9aa0445f4b7f2309eeef909c0">inhseqno</p>
</td>
<td class="cellrowborder" valign="top" width="13.350000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001764491644__ad1bb9418e0df4e49b063d2d66b82b524">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="23.68%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001764491644__ad17f8be3b96f4b8ea4705b2484c08c2f">-</p>
</td>
<td class="cellrowborder" valign="top" width="47.74%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001764491644__a62f3911b2609442fab44f936c8653e61">If there is more than one direct parent for a child table (multiple inheritances), this number tells the order in which the inherited columns are to be arranged. The count starts at 1.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
</div>
</div>