Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
51.33. pg_opclass
Prev UpChapter 51. System CatalogsHome Next

51.33. pg_opclass#

The catalogpg_opclass defines index access method operator classes. Each operator class defines semantics for index columns of a particular data type and a particular index access method. An operator class essentially specifies that a particular operator family is applicable to a particular indexable column data type. The set of operators from the family that are actually usable with the indexed column are whichever ones accept the column's data type as their left-hand input.

Operator classes are described at length inSection 36.16.

Table 51.33. pg_opclass Columns

Column Type

Description

oidoid

Row identifier

opcmethodoid (referencespg_am.oid)

Index access method operator class is for

opcnamename

Name of this operator class

opcnamespaceoid (referencespg_namespace.oid)

Namespace of this operator class

opcowneroid (referencespg_authid.oid)

Owner of the operator class

opcfamilyoid (referencespg_opfamily.oid)

Operator family containing the operator class

opcintypeoid (referencespg_type.oid)

Data type that the operator class indexes

opcdefaultbool

True if this operator class is the default foropcintype

opckeytypeoid (referencespg_type.oid)

Type of data stored in index, or zero if same asopcintype


An operator class'sopcmethod must match theopfmethod of its containing operator family. Also, there must be no more than onepg_opclass row havingopcdefault true for any given combination ofopcmethod andopcintype.


Prev Up Next
51.32. pg_namespace Home 51.34. pg_operator
pdfepub
Go to PostgreSQL 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp