Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
52.36. pg_partitioned_table
Prev UpChapter 52. System CatalogsHome Next

52.36. pg_partitioned_table

The catalogpg_partitioned_table stores information about how tables are partitioned.

Table 52.36. pg_partitioned_table Columns

Column Type

Description

partrelidoid (referencespg_class.oid)

The OID of thepg_class entry for this partitioned table

partstratchar

Partitioning strategy;h = hash partitioned table,l = list partitioned table,r = range partitioned table

partnattsint2

The number of columns in the partition key

partdefidoid (referencespg_class.oid)

The OID of thepg_class entry for the default partition of this partitioned table, or zero if this partitioned table does not have a default partition

partattrsint2vector (referencespg_attribute.attnum)

This is an array ofpartnatts values that indicate which table columns are part of the partition key. For example, a value of1 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.

partclassoidvector (referencespg_opclass.oid)

For each column in the partition key, this contains the OID of the operator class to use. Seepg_opclass for details.

partcollationoidvector (referencespg_collation.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 (innodeToString() representation) for partition key columns that are not simple column references. This is a list with one element for each zero entry inpartattrs. Null if all partition key columns are simple references.



Prev Up Next
52.35. pg_opfamily Home 52.37. pg_policy
pdfepub
Go to PostgreSQL 14
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp