51.34. pg_operator

pg_operatorカタログは演算子の情報を保存します。 CREATE OPERATOR37.14を参照してください。

表51.34 pg_operatorの列

列 型

説明

oid oid

行識別子

oprname name

演算子名

oprnamespace oid (references pg_namespace.oid)

この演算子を含む名前空間のOID

oprowner oid (references pg_authid.oid)

演算子の所有者

oprkind char

b = 挿入辞(両側)、 l = 接頭辞(左側)、 r = 接尾辞(右側

oprcanmerge bool

この演算子はマージ結合をサポートします。

oprcanhash bool

この演算子はハッシュ結合をサポートします。

oprleft oid (references pg_type.oid)

左辺オペランドの型

oprright oid (references pg_type.oid)

右辺オペランドの型

oprresult oid (references pg_type.oid)

結果の型

oprcom oid (references pg_operator.oid)

もし存在すればこの演算子の交代演算子

oprnegate oid (references pg_operator.oid)

もし存在すればこの演算子の否定子

oprcode regproc (references pg_proc.oid)

この演算子を実装する関数

oprrest regproc (references pg_proc.oid)

この演算子の制約選択評価関数

oprjoin regproc (references pg_proc.oid)

この演算子の結合選択評価関数


未使用の列にはゼロが入ります。 例えば、接頭辞演算子ではoprleftはゼロです。