Content-Length: 87033 | pFad | http://postgrespro.com/docs/postgrespro/10/catalog-pg-partitioned-table

Postgres Pro Standard : Documentation: 10: 49.36. pg_partitioned_table : Postgres Professional

49.36. pg_partitioned_table

The catalog pg_partitioned_table stores information about how tables are partitioned.

Table 49.36. pg_partitioned_table Columns

NameTypeReferencesDescription
partrelidoidpg_class.oidThe OID of the pg_class entry for this partitioned table
partstratchar  Partitioning strategy; l = list partitioned table, r = range partitioned table
partnattsint2 The number of columns in partition key
partattrsint2vectorpg_attribute.attnum This is an array of partnatts values that indicate which table columns are part of the partition key. For example, a value of 1 3 would mean that the first and the third table columns make up the partition key. A zero in this array indicates that the corresponding partition key column is an expression, rather than a simple column reference.
partclassoidvectorpg_opclass.oid For each column in the partition key, this contains the OID of the operator class to use. See pg_opclass for details.
partcollationoidvectorpg_opclass.oid 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.
partexprspg_node_tree  Expression trees (in nodeToString() representation) for partition key columns that are not simple column references. This is a list with one element for each zero entry in partattrs. Null if all partition key columns are simple references.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://postgrespro.com/docs/postgrespro/10/catalog-pg-partitioned-table

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy