doc-exports/docs/dws/dev/dws_04_0595.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

53 lines
4.3 KiB
HTML

<a name="EN-US_TOPIC_0000001233681763"></a><a name="EN-US_TOPIC_0000001233681763"></a>
<h1 class="topictitle1">PG_INHERITS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233681763__en-us_topic_0059777685_p646824945215"><strong id="EN-US_TOPIC_0000001233681763__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_0000001233681763__ta34ddbddb6b2480696cda8e1f6aaeadd" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_INHERITS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233681763__r413a2e9cdc3c467795c2e67358ed3864"><th align="left" class="cellrowborder" valign="top" width="15.229999999999999%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001233681763__a5cd9acf690d24bde8ce1300abad4e132">Name</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_0000001233681763__a676aff406fd246619bdea51945819cde">Type</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_0000001233681763__a542484b617b14421b53c3100b6c48426">Reference</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_0000001233681763__a2c775939187c47058727d93fead31398">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233681763__radb1218f34804e5c94bc3d91699e3178"><td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001233681763__ac95f2887abdf4ec3b6060281c5255e62">inhrelid</p>
</td>
<td class="cellrowborder" valign="top" width="13.350000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001233681763__ae2e11b080a794b43b95e5b9958e02158">oid</p>
</td>
<td class="cellrowborder" valign="top" width="23.68%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001233681763__a9514798360ef4d1eadab0c2e2489729f"><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_0000001233681763__aaa8c1e7f6c0d4c8f92af39d3fac416f4">OID of the child table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681763__rbb2bbedb31f3455c8344a2e05e2463d8"><td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001233681763__a23843af6f6b54313a086c21865f6043f">inhparent</p>
</td>
<td class="cellrowborder" valign="top" width="13.350000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001233681763__a3d6fb4f6ff5f48e4b21c7b8494ddfc83">oid</p>
</td>
<td class="cellrowborder" valign="top" width="23.68%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001233681763__ade996f20981747708d79af4f768d8433"><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_0000001233681763__a9f8ae315481e4f9d899b08e06733be4e">OID of the parent table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681763__r12cd8821c1ca40d9b8ffad313b3f301e"><td class="cellrowborder" valign="top" width="15.229999999999999%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001233681763__a58a34c81a8874b41b84c862359bee1f1">inhseqno</p>
</td>
<td class="cellrowborder" valign="top" width="13.350000000000001%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001233681763__add5be99b1a684224bf336112daf25482">integer</p>
</td>
<td class="cellrowborder" valign="top" width="23.68%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001233681763__aaf6850c70ecb4fcd8ea89764a3ee2473">-</p>
</td>
<td class="cellrowborder" valign="top" width="47.74%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001233681763__a9ae94e6ac857404f9bc4a52d7f292636">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>