Index of /postgresql/postgres/view-pg-tables.html


43.47. pg_tables

The view pg_tables provides access to useful information about each table in the database.

Table 43-47. pg_tables Columns

NameTypeReferencesDescription
schemanamenamepg_namespace.nspnameName of schema containing table
tablenamenamepg_class.relnameName of table
tableownernamepg_authid.rolnameName of table's owner
tablespacenamepg_tablespace.spcnameName of tablespace containing table (NULL if default for database)
hasindexesbooleanpg_class.relhasindextrue if table has (or recently had) any indexes
hasrulesbooleanpg_class.relhasrulestrue if table has rules
hastriggersbooleanpg_class.reltriggerstrue if table has triggers

HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà