pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。
pg_opclass #目录 pg_opclass 定义索引访问方法操作符类。每个操作符类为一种特定数据类型和一种特定索引访问方法的索引列定义语义。操作符类本质上指定一个特定的操作符族适用于一种特定的可索引列数据类型。该操作符族中实际可用于被索引列的操作符集合,是那些接受该列数据类型作为其左输入的操作符。
操作符类详见第 35.14 节。
表 45.31. pg_opclass 列
| Name | Type | References | Description |
|---|---|---|---|
opcmethod |
oid |
|
Index access method operator class is for |
opcname |
name |
Name of this operator class | |
opcnamespace |
oid |
|
Namespace of this operator class |
opcowner |
oid |
|
Owner of the operator class |
opcfamily |
oid |
|
Operator family containing the operator class |
opcintype |
oid |
|
Data type that the operator class indexes |
opcdefault |
bool |
True if this operator class is the default for opcintype |
|
opckeytype |
oid |
|
Type of data stored in index, or zero if same as opcintype |
一个操作符类的opcmethod必须匹配包含它的操作符族的opfmethod。 而且,对于任何给定的opcmethod和opcintype组合,只有不超过一个pg_opclass行的opcdefault值为真。
译文有误、术语不当或页面显示问题,请到译文仓库 pgsty/pgdoc 报告译文问题。 英文原文本身的问题,请在当前版本的对应页面向上游反馈;上游不再修订已结束维护的版本。