バージョンごとのドキュメント一覧

37.54. tables #

The view <literal>tables</literal> contains all tables and views defined in the current database. Only those tables and views are shown that the current user has access to (by way of being the owner or having some privilege). tablesビューには、現在のデータベースで定義された全てのテーブルとビューがあります。 現在のユーザが(所有している、何らかの権限を持っているといった方法で)アクセスできるテーブルとビューのみが表示されます。

表37.52 tablesの列

<title><structname>tables</structname> Columns</title>

Column Type 列 型

Description 説明

table_catalog sql_identifier

Name of the database that contains the table (always the current database) テーブルを持つデータベースの名前です(常に現在のデータベースです)。

table_schema sql_identifier

Name of the schema that contains the table テーブルを持つスキーマの名前です。

table_name sql_identifier

Name of the table テーブルの名前です。

table_type character_data

Type of the table: <literal>BASE TABLE</literal> for a persistent base table (the normal table type), <literal>VIEW</literal> for a view, <literal>FOREIGN</literal> for a foreign table, or <literal>LOCAL TEMPORARY</literal> for a temporary table テーブルの種類です。 永続テーブル(普通のテーブルの種類)ではBASE TABLE、ビューではVIEW、外部テーブルではFOREIGN、一時テーブルではLOCAL TEMPORARYです。

self_referencing_column_name sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

reference_generation character_data

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

user_defined_type_catalog sql_identifier

If the table is a typed table, the name of the database that contains the underlying data type (always the current database), else null. テーブルが型付けされたテーブルの場合、背後のデータ型を持つデータベースの名前です(常に現在のデータベースです)。 さもなくばNULLです。

user_defined_type_schema sql_identifier

If the table is a typed table, the name of the schema that contains the underlying data type, else null. テーブルが型付けされたテーブルである場合、背後のデータ型を含むスキーマの名前です。 さもなくばNULLです。

user_defined_type_name sql_identifier

If the table is a typed table, the name of the underlying data type, else null. テーブルが型付けされたテーブルである場合、背後のデータ型の名前です。 さもなくばNULLです。

is_insertable_into yes_or_no

<literal>YES</literal> if the table is insertable into, <literal>NO</literal> if not (Base tables are always insertable into, views not necessarily.) テーブルが挿入可能な場合YES、さもなくばNOです。 (ベーステーブルは常に挿入可能ですが、ビューはそうとも限りません。)

is_typed yes_or_no

<literal>YES</literal> if the table is a typed table, <literal>NO</literal> if not テーブルが型付けされたテーブルの場合YES、そうでなければNOです。

commit_action character_data

Not yet implemented 未実装です。