↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / System Administration Functions

pg_partition_ancestors

Read the PG 18 manual

Lists 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

pg_partition_ancestors ( regclass ) → setof regclass
Lists 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.
Version history 2
  1. 12 → 13 changed
  2. 11 → 12 added

Definition snapshot: b7bd9cda · English manual source