]> begriffs open source - ai-pg/blob - full-docs/txt/view-pg-tables.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / view-pg-tables.txt
1
2 53.32. pg_tables #
3
4    The view pg_tables provides access to useful information about each
5    table in the database.
6
7    Table 53.32. pg_tables Columns
8
9    Column Type
10
11    Description
12
13    schemaname name (references pg_namespace.nspname)
14
15    Name of schema containing table
16
17    tablename name (references pg_class.relname)
18
19    Name of table
20
21    tableowner name (references pg_authid.rolname)
22
23    Name of table's owner
24
25    tablespace name (references pg_tablespace.spcname)
26
27    Name of tablespace containing table (null if default for database)
28
29    hasindexes bool (references pg_class.relhasindex)
30
31    True if table has (or recently had) any indexes
32
33    hasrules bool (references pg_class.relhasrules)
34
35    True if table has (or once had) rules
36
37    hastriggers bool (references pg_class.relhastriggers)
38
39    True if table has (or once had) triggers
40
41    rowsecurity bool (references pg_class.relrowsecurity)
42
43    True if row security is enabled on the table