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

53.43. pg_range #

The catalog <structname>pg_range</structname> stores information about range types. This is in addition to the types' entries in <link linkend="catalog-pg-type"><structname>pg_type</structname></link>. pg_rangeカタログは、範囲型についての情報を保存します。 これはpg_type内の型のエントリに追加されます。

表53.43 pg_rangeの列

<title><structname>pg_range</structname> Columns</title>

Column Type 列 型

Description 説明

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

OID of the range type 範囲型のOID

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

OID of the element type (subtype) of this range type この範囲型の要素型(派生元型)のOID

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

OID of the multirange type for this range type この範囲型のための多重範囲型のOID

rngcollation oid (references <link linkend="catalog-pg-collation"><structname>pg_collation</structname></link>.<structfield>oid</structfield>) (参照先 pg_collation.oid

OID of the collation used for range comparisons, or zero if none 範囲比較のために使用される照合のOID。何もない場合はゼロ

rngsubopc oid (references <link linkend="catalog-pg-opclass"><structname>pg_opclass</structname></link>.<structfield>oid</structfield>) (参照先 pg_opclass.oid

OID of the subtype's operator class used for range comparisons 範囲比較のために使用される派生元型の演算子クラスのOID

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

OID of the function to convert a range value into canonical form, or zero if none 範囲型を標準型に変換する関数のOID。何もない場合はゼロ

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

OID of the function to return the difference between two element values as <type>double precision</type>, or zero if none 2つの要素値の間の違いをdouble precisionとして返す関数のOID、なければゼロ


<structfield>rngsubopc</structfield> (plus <structfield>rngcollation</structfield>, if the element type is collatable) determines the sort ordering used by the range type. <structfield>rngcanonical</structfield> is used when the element type is discrete. <structfield>rngsubdiff</structfield> is optional but should be supplied to improve performance of GiST indexes on the range type. rngsubopc(および、要素型が照合可能である場合はrngcollation)は範囲型で使用されるソートの順番を決定します。rngcanonicalは要素型が離散的である場合に使用されます。 rngsubdiffは省略可能ですが、範囲型に対するGiSTインデックスの性能を向上するためには提供しなければなりません。