-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog-pg-description.html
More file actions
80 lines (80 loc) · 7.73 KB
/
catalog-pg-description.html
File metadata and controls
80 lines (80 loc) · 7.73 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
<?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.19. pg_description</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-depend.html" title="52.18. pg_depend" /><link rel="next" href="catalog-pg-enum.html" title="52.20. pg_enum" /><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-description.html">誤訳等の報告
</a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-depend.html" title="52.18. pg_depend">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="第52章 システムカタログ">上へ</a></td><td width="60%" align="center">52.19. <code class="structname">pg_description</code></td><td width="20%" align="right"> <a accesskey="n" href="catalog-pg-enum.html" title="52.20. pg_enum">次へ</a></td></tr></table><hr /></div><div class="sect1" id="CATALOG-PG-DESCRIPTION"><div class="titlepage"><div><div><h2 class="title" style="clear: both">52.19. <code class="structname">pg_description</code> <a href="#CATALOG-PG-DESCRIPTION" class="id_link">#</a></h2></div></div></div><a id="id-1.10.4.21.2" class="indexterm"></a><p>
<span class="original">
The catalog <structname>pg_description</structname> stores optional descriptions
(comments) for each database object. Descriptions can be manipulated
with the <link linkend="sql-comment"><command>COMMENT</command></link> command and viewed with
<application>psql</application>'s <literal>\d</literal> commands.
Descriptions of many built-in system objects are provided in the initial
contents of <structname>pg_description</structname>.
</span>
各データベースオブジェクトに対して付けられたオプションの補足説明(コメント)は<code class="structname">pg_description</code>カタログに格納されます。
補足説明は<a class="link" href="sql-comment.html" title="COMMENT"><code class="command">COMMENT</code></a>コマンドで編集でき、<span class="application">psql</span>の<code class="literal">\d</code>コマンドで表示できます。
多くの組み込み型のシステムオブジェクトの説明は、<code class="structname">pg_description</code>の最初の部分で提供されています。
</p><p>
<span class="original">
See also <link linkend="catalog-pg-shdescription"><structname>pg_shdescription</structname></link>,
which performs a similar function for descriptions involving objects that
are shared across a database cluster.
</span>
<a class="link" href="catalog-pg-shdescription.html" title="52.49. pg_shdescription"><code class="structname">pg_shdescription</code></a>も参照してください。
こちらは、データベースクラスタに渡って共有されるオブジェクトに関する説明について、同様の機能を行います。
</p><div class="table" id="id-1.10.4.21.5"><p class="title"><strong>表52.19 <code class="structname">pg_description</code>の列</strong></p><div class="table-contents"><span class="original">
<title><structname>pg_description</structname> Columns</title>
</span><table class="table" summary="pg_descriptionの列" 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">objoid</code> <code class="type">oid</code>
<span class="original">
(references any OID column)
</span>
(いずれかのOID列)
</p>
<p>
<span class="original">
The OID of the object this description pertains to
</span>
この補足説明が属するオブジェクトのOID
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">classoid</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 OID of the system catalog this object appears in
</span>
このオブジェクトが現れるシステムカタログのOID
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">objsubid</code> <code class="type">int4</code>
</p>
<p>
<span class="original">
For a comment on a table column, this is the column number (the
<structfield>objoid</structfield> and <structfield>classoid</structfield> refer to
the table itself). For all other object types, this column is
zero.
</span>
テーブル列についてのコメントの場合、これは列の(<code class="structfield">objoid</code>もしくは<code class="structfield">classoid</code>はテーブル自身を参照します)列番号です。
他のすべての種類のオブジェクトでは、この列はゼロです。
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">description</code> <code class="type">text</code>
</p>
<p>
<span class="original">
Arbitrary text that serves as the description of this object
</span>
このオブジェクトの説明となる任意のテキスト
</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-depend.html" title="52.18. pg_depend">前へ</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-enum.html" title="52.20. pg_enum">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">52.18. <code class="structname">pg_depend</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.20. <code class="structname">pg_enum</code></td></tr></table></div></body></html>