バージョンごとのドキュメント一覧

53.35. pg_opfamily #

The catalog <structname>pg_opfamily</structname> defines operator families. Each operator family is a collection of operators and associated support routines that implement the semantics specified for a particular index access method. Furthermore, the operators in a family are all <quote>compatible</quote>, in a way that is specified by the access method. The operator family concept allows cross-data-type operators to be used with indexes and to be reasoned about using knowledge of access method semantics. pg_opfamilyカタログは演算子族を定義します。 それぞれの演算子族は、演算子とサポートルーチン(特定のインデックスアクセスメソッドのために特化されたセマンティクスを実装するような関連付けられたもの)を集めたものです。 さらに、演算子族内の演算子はすべて、アクセスメソッドにより特定される方法において互換性があります。 演算子族の概念は、データ型を跨る演算子がインデックスで使用されることを許可し、さらにアクセスメソッドのセマンティクスの知識を使用することについて理由付けすることも許可します。

Operator families are described at length in <xref linkend="xindex"/>. 演算子族については38.16で詳しく説明します。

表53.35 pg_opfamilyの列

<title><structname>pg_opfamily</structname> Columns</title>

Column Type 列 型

Description 説明

oid oid

Row identifier 行識別子

opfmethod oid (references <link linkend="catalog-pg-am"><structname>pg_am</structname></link>.<structfield>oid</structfield>) (参照先 pg_am.oid

Index access method operator family is for 演算子族用のインデックスアクセスメソッド

opfname name

Name of this operator family 演算子族の名称

opfnamespace oid (references <link linkend="catalog-pg-namespace"><structname>pg_namespace</structname></link>.<structfield>oid</structfield>) (参照先 pg_namespace.oid

Namespace of this operator family 演算子族の名前空間

opfowner oid (references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>oid</structfield>) (参照先 pg_authid.oid

Owner of the operator family 演算子族の所有者


The majority of the information defining an operator family is not in its <structname>pg_opfamily</structname> row, but in the associated rows in <link linkend="catalog-pg-amop"><structname>pg_amop</structname></link>, <link linkend="catalog-pg-amproc"><structname>pg_amproc</structname></link>, and <link linkend="catalog-pg-opclass"><structname>pg_opclass</structname></link>. 演算子族を定義している情報の大部分が、pg_opfamily行にあるわけではなく、pg_amoppg_amprocpg_opclass行にあります。