forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
4.6 KiB
4.6 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.
Column |
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. |
Parent topic: System Catalogs