SYSTEM CATALOGS / SYSTEM CATALOGS
pg_inherits
Read PG 18 manual ↗The catalog pg_inherits records information about table and index inheritance hierarchies.
- Kind
- System catalogs
- Columns in this snapshot
- 4
- Definition source
- English manual
Columns 4
| Column | Type | Description / reference |
|---|---|---|
inhrelid | oid | The OID of the child table or index pg_class.oid |
inhparent | oid | The OID of the parent table or index pg_class.oid |
inhseqno | int4 | If there is more than one direct parent for a child table (multiple inheritance), this number tells the order in which the inherited columns are to be arranged. The count starts at 1. Indexes cannot have multiple inheritance, since they can only inherit when using declarative partitioning. |
inhdetachpending | bool | true for a partition that is in the process of being detached; false otherwise. |
Column history across versions
Version history 3
- PG 13 → 14changed
- PG 12 → 13changed
- PG 10 → 11changed
Definition snapshot: english-manuals:4c0ee38dcbfbca4191e6ac2729b… · English manual source