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

37.42. routine_routine_usage #

The view <literal>routine_routine_usage</literal> is meant to identify all functions or procedures that are used by another (or the same) function or procedure, either in the body or in parameter default expressions. Currently, only functions used in parameter default expressions are tracked. An entry is included here only if the used function is owned by a currently enabled role. (There is no such restriction on the using function.) routine_routine_usageビューは、本体またはパラメータのデフォルト式のいずれかで、別の(または同じ)関数またはプロシージャによって使用される、全ての関数またはプロシージャを識別することを目的としています。 現在、パラメータのデフォルト式で使用される関数のみが追跡されます。 ここにエントリが含まれるのは、使用される関数が現在使用可能なロールによって所有されている場合のみです。 (使用する関数にこのような制限はありません。)

Note that the entries for both functions in the view refer to the <quote>specific</quote> name of the routine, even though the column names are used in a way that is inconsistent with other information schema views about routines. This is per SQL standard, although it is arguably a misdesign. See <xref linkend="infoschema-routines"/> for more information about specific names. ビュー内の両方の関数のエントリは、ルーチンに関する他の情報スキーマビューと矛盾する方法で列名が使用されていても、ルーチンの仕様名称を参照していることに注意してください。 これはSQL標準に従っていますが、間違いなく設計ミスです。 仕様名称の詳細は37.45を参照してください。

表37.40 routine_routine_usage Columns

Column Type 列 型

Description 説明

specific_catalog sql_identifier

Name of the database containing the using function (always the current database) 使用する関数が含まれるデータベースの名前です(常に現在のデータベースです)。

specific_schema sql_identifier

Name of the schema containing the using function 使用する関数が含まれるスキーマの名前です。

specific_name sql_identifier

The <quote>specific name</quote> of the using function. 使用する関数の仕様名称です。

routine_catalog sql_identifier

Name of the database that contains the function that is used by the first function (always the current database) 最初の関数で使用される関数を含むデータベースの名前です(常に現在のデータベースです)。

routine_schema sql_identifier

Name of the schema that contains the function that is used by the first function 最初の関数で使用される関数を含むスキーマの名前です。

routine_name sql_identifier

The <quote>specific name</quote> of the function that is used by the first function. 最初の関数で使用される関数の仕様名称です。