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

53.29. pg_language #

The catalog <structname>pg_language</structname> registers languages in which you can write functions or stored procedures. See <xref linkend="sql-createlanguage"/> and <xref linkend="xplang"/> for more information about language handlers. pg_languageカタログはユーザ定義関数やストアドプロシージャを作成できる言語を登録します。 言語ハンドラの詳細はCREATE LANGUAGE第42章を参照してください。

表53.29 pg_languageの列

<title><structname>pg_language</structname> Columns</title>

Column Type 列 型

Description 説明

oid oid

Row identifier 行識別子

lanname name

Name of the language 言語名称

lanowner oid (references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>oid</structfield>) (参照先 pg_authid.oid

Owner of the language 言語の所有者

lanispl bool

This is false for internal languages (such as <acronym>SQL</acronym>) and true for user-defined languages. Currently, <application>pg_dump</application> still uses this to determine which languages need to be dumped, but this might be replaced by a different mechanism in the future. SQLのような)内部言語ではfalseで、ユーザ定義言語ではtrueです。 現在、pg_dumpではどの言語がダンプされる必要があるかを特定するためにこれを利用していますが、近い将来に異なるメカニズムによって置き換わる可能性があります。

lanpltrusted bool

True if this is a trusted language, which means that it is believed not to grant access to anything outside the normal SQL execution environment. Only superusers can create functions in untrusted languages. 信頼できる言語の場合はtrue。 信頼できる言語とは、通常のSQL実行環境の外側にある、いかなる言語へのアクセス許可も付与されていないと信用できる言語です。 スーパーユーザのみが信頼されない言語で関数を作成できます。

lanplcallfoid oid (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

For noninternal languages this references the language handler, which is a special function that is responsible for executing all functions that are written in the particular language. Zero for internal languages. 非内部言語用の、言語ハンドラを参照します。 これは、この言語で記述されたすべての関数を実行するための責任を持つ特別な関数です。 内部言語の場合はゼロ。

laninline oid (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

This references a function that is responsible for executing <quote>inline</quote> anonymous code blocks (<xref linkend="sql-do"/> blocks). Zero if inline blocks are not supported. これはインライン匿名コードブロック(DOブロック)の実行に責任を持つ関数を参照します。 インラインブロックをサポートしない場合はゼロ。

lanvalidator oid (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

This references a language validator function that is responsible for checking the syntax and validity of new functions when they are created. Zero if no validator is provided. これは、新しい関数が作成された時に構文や有効性の検査を引き受ける言語有効性検査関数を参照します。 有効性検査関数がない場合はゼロになります。

lanacl aclitem[]

Access privileges; see <xref linkend="ddl-priv"/> for details アクセス権限。 詳細は5.7を参照してください