@@ -4846,9 +4846,11 @@ ORDER BY c.ordinal_position;
4846
4846
<title><literal>routine_column_usage</literal></title>
4847
4847
4848
4848
<para>
4849
- The view <literal>routine_column_usage</literal> is meant to identify all
4850
- columns that are used by a function or procedure. This information is
4851
- currently not tracked by <productname>PostgreSQL</productname>.
4849
+ The view <literal>routine_column_usage</literal> identifies all columns
4850
+ that are used by a function or procedure, either in the SQL body or in
4851
+ parameter default expressions. (This only works for unquoted SQL bodies,
4852
+ not quoted bodies or functions in other languages.) A column is only
4853
+ included if its table is owned by a currently enabled role.
4852
4854
</para>
4853
4855
4854
4856
<table>
@@ -5085,12 +5087,12 @@ ORDER BY c.ordinal_position;
5085
5087
<title><literal>routine_routine_usage</literal></title>
5086
5088
5087
5089
<para>
5088
- The view <literal>routine_routine_usage</literal> is meant to identify all
5089
- functions or procedures that are used by another (or the same) function or
5090
- procedure, either in the body or in parameter default expressions.
5091
- Currently, only functions used in parameter default expressions are
5092
- tracked. An entry is included here only if the used function is owned by a
5093
- currently enabled role. (There is no such restriction on the using
5090
+ The view <literal>routine_routine_usage</literal> identifies all functions
5091
+ or procedures that are used by another (or the same) function or procedure,
5092
+ either in the SQL body or in parameter default expressions. (This only
5093
+ works for unquoted SQL bodies, not quoted bodies or functions in other
5094
+ languages.) An entry is included here only if the used function is owned
5095
+ by a currently enabled role. (There is no such restriction on the using
5094
5096
function.)
5095
5097
</para>
5096
5098
@@ -5184,11 +5186,11 @@ ORDER BY c.ordinal_position;
5184
5186
<title><literal>routine_sequence_usage</literal></title>
5185
5187
5186
5188
<para>
5187
- The view <literal>routine_sequence_usage</literal> is meant to identify all
5188
- sequences that are used by a function or procedure, either in the body or
5189
- in parameter default expressions. Currently, only sequences used in
5190
- parameter default expressions are tracked. A sequence is only included if
5191
- that sequence is owned by a currently enabled role.
5189
+ The view <literal>routine_sequence_usage</literal> identifies all sequences
5190
+ that are used by a function or procedure, either in the SQL body or in
5191
+ parameter default expressions. (This only works for unquoted SQL bodies,
5192
+ not quoted bodies or functions in other languages.) A sequence is only
5193
+ included if that sequence is owned by a currently enabled role.
5192
5194
</para>
5193
5195
5194
5196
<table>
0 commit comments