pg_partition_ancestors ( regclass ) → setof regclassLists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.
Functions / System Administration Functions
pg_partition_ancestors
Read the PG 18 manualLists the ancestor relations of the given partition, including the relation itself.
Reading PG 18current·documented in 9 of 27 versions, 12 to 20
Signatures & examples
Definition snapshot: b7bd9cda · English manual source