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).
8 Table 35.52. tables Columns
14 table_catalog sql_identifier
16 Name of the database that contains the table (always the current
19 table_schema sql_identifier
21 Name of the schema that contains the table
23 table_name sql_identifier
27 table_type character_data
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
33 self_referencing_column_name sql_identifier
35 Applies to a feature not available in PostgreSQL
37 reference_generation character_data
39 Applies to a feature not available in PostgreSQL
41 user_defined_type_catalog sql_identifier
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.
46 user_defined_type_schema sql_identifier
48 If the table is a typed table, the name of the schema that contains the
49 underlying data type, else null.
51 user_defined_type_name sql_identifier
53 If the table is a typed table, the name of the underlying data type,
56 is_insertable_into yes_or_no
58 YES if the table is insertable into, NO if not (Base tables are always
59 insertable into, views not necessarily.)
63 YES if the table is a typed table, NO if not
65 commit_action character_data