-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog-pg-am.html
More file actions
34 lines (34 loc) · 6.68 KB
/
catalog-pg-am.html
File metadata and controls
34 lines (34 loc) · 6.68 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
29
30
31
32
33
34
<?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>51.3. pg_am</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-aggregate.html" title="51.2. pg_aggregate" /><link rel="next" href="catalog-pg-amop.html" title="51.4. pg_amop" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="4" align="center"><a accesskey="h" href="index.html">PostgreSQL 10.5文書</a></th></tr><tr><td width="10%" align="left"></td><td width="10%" align="left"></td><td width="60%" align="center"><a href="catalogs.html" title="第51章 システムカタログ">第51章 システムカタログ</a></td><td width="20%" align="right"><div class="actions"><a class="issue" title="github" href="https://github.com/pgsql-jp/jpug-doc/issues/new?title=version 10.5 catalog-pg-am.html">誤訳等の報告
</a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-aggregate.html" title="51.2. pg_aggregate">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="第51章 システムカタログ">上へ</a></td><td width="60%" align="center">51.3. <code class="structname">pg_am</code></td><td width="20%" align="right"> <a accesskey="n" href="catalog-pg-amop.html" title="51.4. pg_amop">次へ</a></td></tr></table><hr /></div><div class="sect1" id="CATALOG-PG-AM"><div class="titlepage"><div><div><h2 class="title" style="clear: both">51.3. <code class="structname">pg_am</code></h2></div></div></div><a id="id-1.10.4.5.2" class="indexterm"></a><p><span class="original">
The catalog <structname>pg_am</structname> stores information about
relation access methods. There is one row for each access method supported
by the system.
Currently, only indexes have access methods. The requirements for index
access methods are discussed in detail in <xref linkend="indexam">.
</span><code class="structname">pg_am</code>カタログにはリレーションアクセスメソッドの情報が格納されます。
システムがサポートするアクセスメソッド毎に1つの行が存在します。
現在、インデックスのみがアクセスメソッドを持ちます。インデックスアクセスメソッドの要求事項は<a class="xref" href="indexam.html" title="第60章 インデックスアクセスメソッドのインタフェース定義">第60章</a>にて詳しく説明します。
</p><div class="table" id="id-1.10.4.5.4"><p class="title"><strong>表51.3 <code class="structname">pg_am</code>の列</strong></p><div class="table-contents"><span class="original">
<title><structname>pg_am</> Columns</title>
</span><table class="table" summary="pg_amの列" 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">amname</code></td><td><code class="type">name</code></td><td> </td><td>アクセスメソッド名</td></tr><tr><td><code class="structfield">amhandler</code></td><td><code class="type">regproc</code></td><td><code class="literal"><a class="link" href="catalog-pg-proc.html" title="51.39. pg_proc"><code class="structname">pg_proc</code></a>.oid</code></td><td><span class="original">
OID of a handler function that is responsible for supplying information
about the access method
</span>アクセスメソッドについての情報の提供に責任を持つハンドラ関数のOID
</td></tr><tr><td><code class="structfield">amtype</code></td><td><code class="type">char</code></td><td> </td><td><span class="original">
Currently always <literal>i</literal> to indicate an index access
method; other values may be allowed in future
</span>インデックスアクセスメソッドを示す文字列の<code class="literal">i</code>。
現在は常に<code class="literal">i</code>ですが、将来的に他の値が許容されるかもしれません。
</td></tr></tbody></table></div></div><br class="table-break" /><div class="note"><h3 class="title">注記</h3><p><span class="original">
Before <productname>PostgreSQL</> 9.6, <structname>pg_am</structname>
contained many additional columns representing properties of index access
methods. That data is now only directly visible at the C code level.
However, <function>pg_index_column_has_property()</function> and related
functions have been added to allow SQL queries to inspect index access
method properties; see <xref linkend="functions-info-catalog-table">.
</span><span class="productname">PostgreSQL</span>9.6以前では、<code class="structname">pg_am</code>にはインデックスアクセスメソッドのプロパティを表す多くの追加列が含まれていました。
そのデータは今ではCコードレベルで直接参照できるのみです。
しかし、<code class="function">pg_index_column_has_property()</code>関数と関連する関数群が、インデックスアクセスメソッドのプロパティを検査するためのSQLクエリを許容するために追加されました。
<a class="xref" href="functions-info.html#FUNCTIONS-INFO-CATALOG-TABLE" title="表9.63 システムカタログ情報関数">表 9.63</a>を参照してください。
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="catalog-pg-aggregate.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-amop.html">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">51.2. <code class="structname">pg_aggregate</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">ホーム</a></td><td width="40%" align="right" valign="top"> 51.4. <code class="structname">pg_amop</code></td></tr></table></div></body></html>