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

70.2. 組み込み演算子クラス #

<title>Built-in Operator Classes</title>

The core <productname>PostgreSQL</productname> distribution includes the <acronym>GIN</acronym> operator classes shown in <xref linkend="gin-builtin-opclasses-table"/>. (Some of the optional modules described in <xref linkend="contrib"/> provide additional <acronym>GIN</acronym> operator classes.) PostgreSQLのコア配布物は表 70.1に示すGIN演算子クラスを含みます。 (付録Fに記載された追加モジュールの中には追加のGIN演算子クラスを提供するものもあります。)

表70.1 組み込みGIN演算子クラス

<title>Built-in <acronym>GIN</acronym> Operator Classes</title>
名前インデックス可能な演算子
array_ops&& (anyarray,anyarray)
@> (anyarray,anyarray)
<@ (anyarray,anyarray)
= (anyarray,anyarray)
jsonb_ops@> (jsonb,jsonb)
@? (jsonb,jsonpath)
@@ (jsonb,jsonpath)
? (jsonb,text)
?| (jsonb,text[])
?& (jsonb,text[])
jsonb_path_ops@> (jsonb,jsonb)
@? (jsonb,jsonpath)
@@ (jsonb,jsonpath)
tsvector_ops@@ (tsvector,tsquery)
@@@ (tsvector,tsquery)

Of the two operator classes for type <type>jsonb</type>, <literal>jsonb_ops</literal> is the default. <literal>jsonb_path_ops</literal> supports fewer operators but offers better performance for those operators. See <xref linkend="json-indexing"/> for details. jsonb型の2つの演算子クラスのうち、jsonb_opsがデフォルトです。 jsonb_path_opsはより少数の演算子しかサポートしませんが、その演算子に対してはより良いパフォーマンスを提供します。 詳細は8.14.4を参照してください。