The catalog pg_partitioned_table stores information about how tables are partitioned.
Table 51.37. pg_partitioned_table Columns
Column Type Description |
---|
The OID of the pg_class entry for this partitioned table |
Partitioning strategy; |
The number of columns in the partition key |
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 |
This is an array of |
For each column in the partition key, this contains the OID of the operator class to use. See pg_opclass for details. |
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. |
Expression trees (in |