36.44. routine_table_usage #

Представление routine_table_usage предназначено для идентификации всех таблиц, задействованных в функции или процедуре. В настоящее время Postgres Pro не собирает эту информацию.

Таблица 36.42. Столбцы routine_table_usage

Тип столбца

Описание

specific_catalog sql_identifier

Имя базы данных, содержащей функцию (всегда текущая база)

specific_schema sql_identifier

Имя схемы, содержащей функцию

specific_name sql_identifier

«Однозначное имя» функции. Подробнее оно описано в Разделе 36.45.

routine_catalog sql_identifier

Имя базы данных, содержащей функцию (всегда текущая база)

routine_schema sql_identifier

Имя схемы, содержащей функцию

routine_name sql_identifier

Имя функции (может дублироваться в случае перегрузки)

table_catalog sql_identifier

Имя базы данных, содержащей таблицу, задействованную в функции (всегда текущая база)

table_schema sql_identifier

Имя схемы, содержащей таблицу, задействованную в функции

table_name sql_identifier

Имя таблицы, задействованной в функции


36.44. routine_table_usage #

The view routine_table_usage is meant to identify all tables that are used by a function or procedure. This information is currently not tracked by Postgres Pro.

Table 36.42. routine_table_usage Columns

Column Type

Description

specific_catalog sql_identifier

Name of the database containing the function (always the current database)

specific_schema sql_identifier

Name of the schema containing the function

specific_name sql_identifier

The specific name of the function. See Section 36.45 for more information.

routine_catalog sql_identifier

Name of the database containing the function (always the current database)

routine_schema sql_identifier

Name of the schema containing the function

routine_name sql_identifier

Name of the function (might be duplicated in case of overloading)

table_catalog sql_identifier

Name of the database that contains the table that is used by the function (always the current database)

table_schema sql_identifier

Name of the schema that contains the table that is used by the function

table_name sql_identifier

Name of the table that is used by the function


FAQ