doc-exports/docs/dws/dev/dws_04_0595.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
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>
2023-01-19 13:37:49 +00:00

4.3 KiB

PG_INHERITS

PG_INHERITS 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.

Table 1 PG_INHERITS columns

Name

Type

Reference

Description

inhrelid

oid

PG_CLASS.oid

OID of the child table

inhparent

oid

PG_CLASS.oid

OID of the parent table

inhseqno

integer

-

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.