PG_TABLES
PG_TABLES provides access to each table in the database.
Table 1 PG_TABLES columns
PG_NAMESPACE.nspname |
|||
PG_CLASS.relname |
|||
pg_get_userbyid(PG_CLASS.relowner) |
|||
PG_TABLESPACE.spcname |
|||
PG_CLASS.relhasindex |
The value is true if the table has (or recently had) an index; otherwise, the value is false. |
||
PG_CLASS.relhasruls |
The value is true if the table has rules; otherwise, the value is false. |
||
PG_CLASS.RELHASTRIGGERS |
The value is TRUE if the table has triggers; otherwise, the value is FALSE. |
||