-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog-pg-opclass.html
More file actions
28 lines (28 loc) · 7.96 KB
/
Copy pathcatalog-pg-opclass.html
File metadata and controls
28 lines (28 loc) · 7.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>50.33. pg_opclass</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="catalog-pg-namespace.html" title="50.32. pg_namespace" /><link rel="next" href="catalog-pg-operator.html" title="50.34. pg_operator" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left" colspan="2"></td><th width="60%" align="center"><a accesskey="h" href="index.html">PostgreSQL 9.6.5文書</a></th><td width="20%" align="right"><div class="actions"><a class="issue" href="https://github.com/pgsql-jp/jpug-doc/issues/new?title=version 9.6.5 catalog-pg-opclass.html">誤訳等の報告</a></div></td></tr><tr><td width="10%" align="left" valign="top"><a accesskey="p" href="catalog-pg-namespace.html">前へ</a> </td><td width="10%" align="left" valign="top"><a accesskey="u" href="catalogs.html">上へ</a></td><td width="60%" align="center">50.33. <code class="structname">pg_opclass</code></td><td width="20%" align="right" valign="top"> <a accesskey="n" href="catalog-pg-operator.html">次へ</a></td></tr></table><hr /></div><div class="sect1" id="catalog-pg-opclass"><div class="titlepage"><div><div><h2 class="title" style="clear: both">50.33. <code class="structname">pg_opclass</code></h2></div></div></div><a id="idm45823014755888" class="indexterm"></a><p><span class="original">
The catalog <structname>pg_opclass</structname> defines
index access method operator classes. Each operator class defines
semantics for index columns of a particular data type and a particular
index access method. An operator class essentially specifies that a
particular operator family is applicable to a particular indexable column
data type. The set of operators from the family that are actually usable
with the indexed column are whichever ones accept the column's data type
as their left-hand input.
</span><code class="structname">pg_opclass</code>カタログはインデックスアクセスメソッド演算子クラスを定義します。
それぞれの演算子クラスは特定のデータ型のインデックス列のセマンティクスと特定のインデックスアクセスメソッドを定義します。
演算子クラスは、ある特定の演算子族は特定のインデックス可能な列データの型に対して適用できる、ということを本質的に特定します。
インデックス付けされた列を実際に使用可能な演算子族の演算子群は、その列のデータ型を左辺の入力として受け付けます。
</p><p><span class="original">
Operator classes are described at length in <xref linkend="xindex">.
</span> 演算子クラスについては<a class="xref" href="xindex.html" title="36.14. インデックス拡張機能へのインタフェース">36.14. インデックス拡張機能へのインタフェース</a>に詳細に説明されています。
</p><div class="table" id="idm45823014750976"><p class="title"><strong>表50.33 <code class="structname">pg_opclass</code>の列</strong></p><div class="table-contents"><span class="original">
<title><structname>pg_opclass</> Columns</title>
</span><table class="table" summary="pg_opclassの列" border="1"><colgroup><col /><col /><col /><col /></colgroup><thead><tr><th>名前</th><th>型</th><th>参照先</th><th>説明</th></tr></thead><tbody><tr><td><code class="structfield">oid</code></td><td><code class="type">oid</code></td><td> </td><td>行識別子(隠し属性です。明示的に選択しなければなりません)</td></tr><tr><td><code class="structfield">opcmethod</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-am.html" title="50.3. pg_am"><code class="structname">pg_am</code></a>.oid</code></td><td>対象のインデックスアクセスメソッド演算子クラス</td></tr><tr><td><code class="structfield">opcname</code></td><td><code class="type">name</code></td><td> </td><td>この演算子クラスの名前</td></tr><tr><td><code class="structfield">opcnamespace</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-namespace.html" title="50.32. pg_namespace"><code class="structname">pg_namespace</code></a>.oid</code></td><td>この演算子クラスの名前空間</td></tr><tr><td><code class="structfield">opcowner</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-authid.html" title="50.8. pg_authid"><code class="structname">pg_authid</code></a>.oid</code></td><td>演算子クラスの所有者</td></tr><tr><td><code class="structfield">opcfamily</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-opfamily.html" title="50.35. pg_opfamily"><code class="structname">pg_opfamily</code></a>.oid</code></td><td>演算子クラスを含んでいる演算子族</td></tr><tr><td><code class="structfield">opcintype</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-type.html" title="50.55. pg_type"><code class="structname">pg_type</code></a>.oid</code></td><td>演算子クラスがインデックスを作成するデータ型</td></tr><tr><td><code class="structfield">opcdefault</code></td><td><code class="type">bool</code></td><td> </td><td>演算子クラスが<code class="structfield">opcintype</code>のデフォルトである場合は真</td></tr><tr><td><code class="structfield">opckeytype</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-type.html" title="50.55. pg_type"><code class="structname">pg_type</code></a>.oid</code></td><td>インデックス内に格納されているデータ型。<code class="structfield">opcintype</code>と同じ場合はゼロ</td></tr></tbody></table></div></div><br class="table-break" /><p><span class="original">
An operator class's <structfield>opcmethod</> must match the
<structname>opfmethod</> of its containing operator family.
Also, there must be no more than one <structname>pg_opclass</structname>
row having <structname>opcdefault</> true for any given combination of
<structname>opcmethod</> and <structname>opcintype</>.
</span>演算子クラスの<code class="structfield">opcmethod</code>は、演算子クラスが含んでいる演算子族の<code class="structname">opfmethod</code>に一致しなければいけません。
また、任意の<code class="structname">opcmethod</code>と<code class="structname">opcintype</code>の組み合わせに対して<code class="structname">opcdefault</code>が真となるような<code class="structname">pg_opclass</code>行が複数存在してはいけません。
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="catalog-pg-namespace.html">前へ</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html">上へ</a></td><td width="40%" align="right"> <a accesskey="n" href="catalog-pg-operator.html">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">50.32. <code class="structname">pg_namespace</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">ホーム</a></td><td width="40%" align="right" valign="top"> 50.34. <code class="structname">pg_operator</code></td></tr></table></div></body></html>