-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog-pg-am.html
More file actions
81 lines (81 loc) · 7.87 KB
/
catalog-pg-am.html
File metadata and controls
81 lines (81 loc) · 7.87 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?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>52.3. pg_am</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="catalog-pg-aggregate.html" title="52.2. pg_aggregate" /><link rel="next" href="catalog-pg-amop.html" title="52.4. pg_amop" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body id="docContent" class="container-fluid col-10"><div class="other_version"><a href="https://www.postgresql.jp/document/">バージョンごとのドキュメント一覧</a></div><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="4" align="center"><a accesskey="h" href="index.html">PostgreSQL 18.3文書</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="第52章 システムカタログ">第52章 システムカタログ</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?template=bug_report.yml&what-happened=version 18.3 : catalog-pg-am.html">誤訳等の報告
</a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-aggregate.html" title="52.2. pg_aggregate">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="第52章 システムカタログ">上へ</a></td><td width="60%" align="center">52.3. <code class="structname">pg_am</code></td><td width="20%" align="right"> <a accesskey="n" href="catalog-pg-amop.html" title="52.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">52.3. <code class="structname">pg_am</code> <a href="#CATALOG-PG-AM" class="id_link">#</a></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 tables and indexes have access methods. The requirements for table
and index access methods are discussed in detail in <xref linkend="tableam"/> and
<xref linkend="indexam"/> respectively.
</span>
<code class="structname">pg_am</code>カタログにはリレーションアクセスメソッドの情報が格納されます。
システムがサポートするアクセスメソッド毎に1つの行が存在します。
今の所、テーブルとインデックスのみがアクセスメソッドを持ちます。
テーブルとインデックスアクセスメソッドの要件は<a class="xref" href="tableam.html" title="第62章 テーブルアクセスメソッドのインタフェース定義">第62章</a>と<a class="xref" href="indexam.html" title="第63章 インデックスアクセスメソッドのインタフェース定義">第63章</a>で詳しく説明されています。
</p><div class="table" id="id-1.10.4.5.4"><p class="title"><strong>表52.3 <code class="structname">pg_am</code>の列</strong></p><div class="table-contents"><span class="original">
<title><structname>pg_am</structname> Columns</title>
</span><table class="table" summary="pg_amの列" border="1"><colgroup><col /></colgroup><thead><tr><th class="catalog_table_entry"><p class="column_definition">
<span class="original">
Column Type
</span>
列 型
</p>
<p>
<span class="original">
Description
</span>
説明
</p></th></tr></thead><tbody><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">oid</code> <code class="type">oid</code>
</p>
<p>
<span class="original">
Row identifier
</span>
行識別子
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">amname</code> <code class="type">name</code>
</p>
<p>
<span class="original">
Name of the access method
</span>
アクセスメソッド名
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">amhandler</code> <code class="type">regproc</code>
<span class="original">
(references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>)
</span>
(参照先 <a class="link" href="catalog-pg-proc.html" title="52.39. pg_proc"><code class="structname">pg_proc</code></a>.<code class="structfield">oid</code>)
</p>
<p>
<span class="original">
OID of a handler function that is responsible for supplying information
about the access method
</span>
アクセスメソッドについての情報の提供に責任を持つハンドラ関数のOID
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">amtype</code> <code class="type">char</code>
</p>
<p>
<span class="original">
<literal>t</literal> = table (including materialized views),
<literal>i</literal> = index.
</span>
<code class="literal">t</code> = テーブル(マテリアライズドビューを含む)、
<code class="literal">i</code> = インデックス
</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="note"><h3 class="title">注記</h3><p>
<span class="original">
Before <productname>PostgreSQL</productname> 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.76 システムカタログ情報関数">表 9.76</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" title="52.2. pg_aggregate">前へ</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html" title="第52章 システムカタログ">上へ</a></td><td width="40%" align="right"> <a accesskey="n" href="catalog-pg-amop.html" title="52.4. pg_amop">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">52.2. <code class="structname">pg_aggregate</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.3文書">ホーム</a></td><td width="40%" align="right" valign="top"> 52.4. <code class="structname">pg_amop</code></td></tr></table></div></body></html>