2 35.40. routine_column_usage #
4 The view routine_column_usage identifies all columns that are used by a
5 function or procedure, either in the SQL body or in parameter default
6 expressions. (This only works for unquoted SQL bodies, not quoted
7 bodies or functions in other languages.) A column is only included if
8 its table is owned by a currently enabled role.
10 Table 35.38. routine_column_usage Columns
16 specific_catalog sql_identifier
18 Name of the database containing the function (always the current
21 specific_schema sql_identifier
23 Name of the schema containing the function
25 specific_name sql_identifier
27 The “specific name” of the function. See Section 35.45 for more
30 routine_catalog sql_identifier
32 Name of the database containing the function (always the current
35 routine_schema sql_identifier
37 Name of the schema containing the function
39 routine_name sql_identifier
41 Name of the function (might be duplicated in case of overloading)
43 table_catalog sql_identifier
45 Name of the database that contains the table that is used by the
46 function (always the current database)
48 table_schema sql_identifier
50 Name of the schema that contains the table that is used by the function
52 table_name sql_identifier
54 Name of the table that is used by the function
56 column_name sql_identifier
58 Name of the column that is used by the function