52.37. pg_partitioned_table
pg_partitioned_table
The catalog pg_partitioned_table stores information about how tables are partitioned.
Column Type Description |
|---|
partrelid The OID of the pg_class entry for this partitioned table |
partstrat Partitioning strategy; |
partnatts The number of columns in the partition key |
partdefid The OID of the pg_class entry for the default partition of this partitioned table, or zero if this partitioned table does not have a default partition |
partattrs This is an array of partnatts values that indicate which table columns are part of the partition key. For example, a value of |
partclass For each column in the partition key, this contains the OID of the operator class to use. See pg_opclass for details. |
partcollation For each column in the partition key, this contains the OID of the collation to use for partitioning, or zero if the column is not of a collatable data type. |
partexprs Expression trees (in |
: pg_partitioned_table Columns