поиск:

41.37. pg_tables

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

Table 41-37. pg_tables Columns

NameTypeReferencesDescription
schemanamenamepg_namespace.nspnamename of schema containing table
tablenamenamepg_class.relnamename of table
tableownernamepg_shadow.usenamename 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
 
© 1997-2005 PHP Club Team
Rambler's Top100