历史版本。 PostgreSQL 9.2 已结束支持。 2017-11-09. 请参阅 当前版本手册.
45.67. pg_tables #
视图pg_tables提供了对数据库中每个表的有用信息的访问。
表 45.68. pg_tables 列
| Name | Type | References | Description |
|---|---|---|---|
schemaname | name | | Name of schema containing table |
tablename | name | | Name of table |
tableowner | name | | Name of table's owner |
tablespace | name | | Name of tablespace containing table (null if default for database) |
hasindexes | boolean | | True if table has (or recently had) any indexes |
hasrules | boolean | | True if table has (or once had) rules |
hastriggers | boolean | | True if table has (or once had) triggers |