-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog-pg-attrdef.html
More file actions
71 lines (71 loc) · 6.72 KB
/
catalog-pg-attrdef.html
File metadata and controls
71 lines (71 loc) · 6.72 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
<?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.6. pg_attrdef</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-amproc.html" title="52.5. pg_amproc" /><link rel="next" href="catalog-pg-attribute.html" title="52.7. pg_attribute" /><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-attrdef.html">誤訳等の報告
</a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-amproc.html" title="52.5. pg_amproc">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="第52章 システムカタログ">上へ</a></td><td width="60%" align="center">52.6. <code class="structname">pg_attrdef</code></td><td width="20%" align="right"> <a accesskey="n" href="catalog-pg-attribute.html" title="52.7. pg_attribute">次へ</a></td></tr></table><hr /></div><div class="sect1" id="CATALOG-PG-ATTRDEF"><div class="titlepage"><div><div><h2 class="title" style="clear: both">52.6. <code class="structname">pg_attrdef</code> <a href="#CATALOG-PG-ATTRDEF" class="id_link">#</a></h2></div></div></div><a id="id-1.10.4.8.2" class="indexterm"></a><p>
<span class="original">
The catalog <structname>pg_attrdef</structname> stores column default
expressions and generation expressions. The main information about columns
is stored in <link
linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.
Only columns for which a default expression or generation expression has
been explicitly set will have an entry here.
</span>
<code class="structname">pg_attrdef</code>システムカタログは列のデフォルト式と生成式を格納します。
列の主要な情報は<a class="link" href="catalog-pg-attribute.html" title="52.7. pg_attribute"><code class="structname">pg_attribute</code></a>に格納されています。
デフォルト式や生成式が明示的に設定された列のみここに項目を持ちます。
</p><div class="table" id="id-1.10.4.8.4"><p class="title"><strong>表52.6 <code class="structname">pg_attrdef</code>の列</strong></p><div class="table-contents"><span class="original">
<title><structname>pg_attrdef</structname> Columns</title>
</span><table class="table" summary="pg_attrdefの列" 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">adrelid</code> <code class="type">oid</code>
<span class="original">
(references <link linkend="catalog-pg-class"><structname>pg_class</structname></link>.<structfield>oid</structfield>)
</span>
(参照先 <a class="link" href="catalog-pg-class.html" title="52.11. pg_class"><code class="structname">pg_class</code></a>.<code class="structfield">oid</code>)
</p>
<p>
<span class="original">
The table this column belongs to
</span>
この列が属するテーブル
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">adnum</code> <code class="type">int2</code>
<span class="original">
(references <link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.<structfield>attnum</structfield>)
</span>
(参照先 <a class="link" href="catalog-pg-attribute.html" title="52.7. pg_attribute"><code class="structname">pg_attribute</code></a>.<code class="structfield">attnum</code>)
</p>
<p>
<span class="original">
The number of the column
</span>
列番号
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">adbin</code> <code class="type">pg_node_tree</code>
</p>
<p>
<span class="original">
The column default or generation expression, in <function>nodeToString()</function>
representation. Use <literal>pg_get_expr(adbin, adrelid)</literal> to
convert it to an SQL expression.
</span>
<code class="function">nodeToString()</code>表現の列のデフォルト式や生成式。
<code class="literal">pg_get_expr(adbin, adrelid)</code>を使ってSQL式に変換します。
</p></td></tr></tbody></table></div></div><br class="table-break" /></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="catalog-pg-amproc.html" title="52.5. pg_amproc">前へ</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-attribute.html" title="52.7. pg_attribute">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">52.5. <code class="structname">pg_amproc</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.7. <code class="structname">pg_attribute</code></td></tr></table></div></body></html>