pg_attrdef #
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.
pg_attrdefシステムカタログは列のデフォルト式と生成式を格納します。
列の主要な情報はpg_attributeに格納されています。
デフォルト式や生成式が明示的に設定された列のみここに項目を持ちます。
表52.6 pg_attrdefの列
Column Type 列 型 Description 説明 |
|---|
Row identifier 行識別子 |
The table this column belongs to この列が属するテーブル |
The number of the column 列番号 |
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.
|