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

53.5. pg_amproc #

The catalog <structname>pg_amproc</structname> stores information about support functions associated with access method operator families. There is one row for each support function belonging to an operator family. pg_amprocカタログには、アクセスメソッド演算子族に関連付けられたサポート関数の情報が格納されます。 演算子族に含まれるサポート関数毎に1つの行が存在します。

表53.5 pg_amprocの列

<title><structname>pg_amproc</structname> Columns</title>

Column Type 列 型

Description 説明

oid oid

Row identifier 行識別子

amprocfamily oid (references <link linkend="catalog-pg-opfamily"><structname>pg_opfamily</structname></link>.<structfield>oid</structfield>) (参照先 pg_opfamily.oid

The operator family this entry is for この項目用の演算子族

amproclefttype oid (references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>) (参照先 pg_type.oid

Left-hand input data type of associated operator 関連付けられた演算子の左辺のデータ型

amprocrighttype oid (references <link linkend="catalog-pg-type"><structname>pg_type</structname></link>.<structfield>oid</structfield>) (参照先 pg_type.oid

Right-hand input data type of associated operator 関連付けられた演算子の右辺データ型

amprocnum int2

Support function number サポート関数番号

amproc regproc (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

OID of the function 関数のOID


The usual interpretation of the <structfield>amproclefttype</structfield> and <structfield>amprocrighttype</structfield> fields is that they identify the left and right input types of the operator(s) that a particular support function supports. For some access methods these match the input data type(s) of the support function itself, for others not. There is a notion of <quote>default</quote> support functions for an index, which are those with <structfield>amproclefttype</structfield> and <structfield>amprocrighttype</structfield> both equal to the index operator class's <structfield>opcintype</structfield>. amproclefttypeamprocrighttype属性の通常の解釈は、それらが、特定のサポート関数がサポートする演算子の左と右の入力型を識別することです。 いくつかのアクセスメソッドに対して、これらはサポート関数自身の入力データ型に一致することもあります。 また、そうでないものもあります。 インデックスに対してデフォルトサポート関数の概念があります。 これはamproclefttypeamprocrighttypeの両方が、インデックス演算クラスのopcintypeに等しい、という概念です。