35.43. routine_sequence_usage
routine_sequence_usage
The view routine_sequence_usage identifies all sequences that are used by a function or procedure, either in the SQL body or in parameter default expressions. (This only works for unquoted SQL bodies, not quoted bodies or functions in other languages.) A sequence is only included if that sequence is owned by a currently enabled role.
Column Type Description |
|---|
specific_catalog Name of the database containing the function (always the current database) |
specific_schema Name of the schema containing the function |
specific_name The "specific name" of the function. See routines for more information. |
routine_catalog Name of the database containing the function (always the current database) |
routine_schema Name of the schema containing the function |
routine_name Name of the function (might be duplicated in case of overloading) |
schema_catalog Name of the database that contains the sequence that is used by the function (always the current database) |
sequence_schema Name of the schema that contains the sequence that is used by the function |
sequence_name Name of the sequence that is used by the function |
: routine_sequence_usage Columns