]> begriffs open source - ai-pg/blob - full-docs/txt/infoschema-views.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / infoschema-views.txt
1
2 35.66. views #
3
4    The view views contains all views defined in the current database. Only
5    those views are shown that the current user has access to (by way of
6    being the owner or having some privilege).
7
8    Table 35.64. views Columns
9
10    Column Type
11
12    Description
13
14    table_catalog sql_identifier
15
16    Name of the database that contains the view (always the current
17    database)
18
19    table_schema sql_identifier
20
21    Name of the schema that contains the view
22
23    table_name sql_identifier
24
25    Name of the view
26
27    view_definition character_data
28
29    Query expression defining the view (null if the view is not owned by a
30    currently enabled role)
31
32    check_option character_data
33
34    CASCADED or LOCAL if the view has a CHECK OPTION defined on it, NONE if
35    not
36
37    is_updatable yes_or_no
38
39    YES if the view is updatable (allows UPDATE and DELETE), NO if not
40
41    is_insertable_into yes_or_no
42
43    YES if the view is insertable into (allows INSERT), NO if not
44
45    is_trigger_updatable yes_or_no
46
47    YES if the view has an INSTEAD OF UPDATE trigger defined on it, NO if
48    not
49
50    is_trigger_deletable yes_or_no
51
52    YES if the view has an INSTEAD OF DELETE trigger defined on it, NO if
53    not
54
55    is_trigger_insertable_into yes_or_no
56
57    YES if the view has an INSTEAD OF INSERT trigger defined on it, NO if
58    not