]> begriffs open source - ai-pg/blob - full-docs/txt/infoschema-tables.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / infoschema-tables.txt
1
2 35.54. tables #
3
4    The view tables contains all tables and views defined in the current
5    database. Only those tables and views are shown that the current user
6    has access to (by way of being the owner or having some privilege).
7
8    Table 35.52. tables Columns
9
10    Column Type
11
12    Description
13
14    table_catalog sql_identifier
15
16    Name of the database that contains the table (always the current
17    database)
18
19    table_schema sql_identifier
20
21    Name of the schema that contains the table
22
23    table_name sql_identifier
24
25    Name of the table
26
27    table_type character_data
28
29    Type of the table: BASE TABLE for a persistent base table (the normal
30    table type), VIEW for a view, FOREIGN for a foreign table, or LOCAL
31    TEMPORARY for a temporary table
32
33    self_referencing_column_name sql_identifier
34
35    Applies to a feature not available in PostgreSQL
36
37    reference_generation character_data
38
39    Applies to a feature not available in PostgreSQL
40
41    user_defined_type_catalog sql_identifier
42
43    If the table is a typed table, the name of the database that contains
44    the underlying data type (always the current database), else null.
45
46    user_defined_type_schema sql_identifier
47
48    If the table is a typed table, the name of the schema that contains the
49    underlying data type, else null.
50
51    user_defined_type_name sql_identifier
52
53    If the table is a typed table, the name of the underlying data type,
54    else null.
55
56    is_insertable_into yes_or_no
57
58    YES if the table is insertable into, NO if not (Base tables are always
59    insertable into, views not necessarily.)
60
61    is_typed yes_or_no
62
63    YES if the table is a typed table, NO if not
64
65    commit_action character_data
66
67    Not yet implemented