]> begriffs open source - ai-pg/blob - full-docs/txt/infoschema-view-column-usage.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / infoschema-view-column-usage.txt
1
2 35.63. view_column_usage #
3
4    The view view_column_usage identifies all columns that are used in the
5    query expression of a view (the SELECT statement that defines the
6    view). A column is only included if the table that contains the column
7    is owned by a currently enabled role.
8
9 Note
10
11    Columns of system tables are not included. This should be fixed
12    sometime.
13
14    Table 35.61. view_column_usage Columns
15
16    Column Type
17
18    Description
19
20    view_catalog sql_identifier
21
22    Name of the database that contains the view (always the current
23    database)
24
25    view_schema sql_identifier
26
27    Name of the schema that contains the view
28
29    view_name sql_identifier
30
31    Name of the view
32
33    table_catalog sql_identifier
34
35    Name of the database that contains the table that contains the column
36    that is used by the view (always the current database)
37
38    table_schema sql_identifier
39
40    Name of the schema that contains the table that contains the column
41    that is used by the view
42
43    table_name sql_identifier
44
45    Name of the table that contains the column that is used by the view
46
47    column_name sql_identifier
48
49    Name of the column that is used by the view