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 PostgreSQL.

Table 36.42. routine_table_usage Columns

Column Type

Description

specific_catalogsql_identifier

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

specific_schemasql_identifier

Name of the schema containing the function

specific_namesql_identifier

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

routine_catalogsql_identifier

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

routine_schemasql_identifier

Name of the schema containing the function

routine_namesql_identifier

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

table_catalogsql_identifier

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

table_schemasql_identifier

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

table_namesql_identifier

Name of the table that is used by the function


close