pg_partition_templates
pg_partition_templates#
The pg_partition_templates system view is used to show the subpartitions that were created using a subpartition template.
Table 1. pg_catalog.pg_partition_templates
column |
type |
references |
description |
|---|---|---|---|
|
name |
The name of the schema the partitioned table is in. |
|
|
name |
The table name of the top-level parent table. |
|
|
name |
The name of the subpartition (this is the name to use if referring to the partition in an |
|
|
text |
The type of subpartition (range or list). |
|
|
smallint |
The level of this subpartition in the hierarchy. |
|
|
bigint |
For range partitions, the rank of the partition compared to other partitions of the same level. |
|
|
smallint |
The rule order position of this subpartition. |
|
|
text |
For list partitions, the list value(s) associated with this subpartition. |
|
|
text |
For range partitions, the start value of this subpartition. |
|
|
boolean |
|
|
|
text |
For range partitions, the end value of this subpartition. |
|
|
boolean |
|
|
|
text |
The |
|
|
boolean |
|
|
|
text |
The entire partition specification for this subpartition. |