]> begriffs open source - ai-pg/blob - full-docs/txt/infoschema-routine-sequence-usage.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / infoschema-routine-sequence-usage.txt
1
2 35.43. routine_sequence_usage #
3
4    The view routine_sequence_usage identifies all sequences that are used
5    by a function or procedure, either in the SQL body or in parameter
6    default expressions. (This only works for unquoted SQL bodies, not
7    quoted bodies or functions in other languages.) A sequence is only
8    included if that sequence is owned by a currently enabled role.
9
10    Table 35.41. routine_sequence_usage Columns
11
12    Column Type
13
14    Description
15
16    specific_catalog sql_identifier
17
18    Name of the database containing the function (always the current
19    database)
20
21    specific_schema sql_identifier
22
23    Name of the schema containing the function
24
25    specific_name sql_identifier
26
27    The “specific name” of the function. See Section 35.45 for more
28    information.
29
30    routine_catalog sql_identifier
31
32    Name of the database containing the function (always the current
33    database)
34
35    routine_schema sql_identifier
36
37    Name of the schema containing the function
38
39    routine_name sql_identifier
40
41    Name of the function (might be duplicated in case of overloading)
42
43    schema_catalog sql_identifier
44
45    Name of the database that contains the sequence that is used by the
46    function (always the current database)
47
48    sequence_schema sql_identifier
49
50    Name of the schema that contains the sequence that is used by the
51    function
52
53    sequence_name sql_identifier
54
55    Name of the sequence that is used by the function