历史版本。 PostgreSQL 9.2 已结束支持。 2017-11-09. 请参阅 当前版本手册.
45.57. pg_indexes #
视图pg_indexes提供了有关数据库中每个索引的有用信息。
表 45.58. pg_indexes 列
| Name | Type | References | Description |
|---|---|---|---|
schemaname | name | | Name of schema containing table and index |
tablename | name | | Name of table the index is for |
indexname | name | | Name of index |
tablespace | name | | Name of tablespace containing index (null if default for database) |
indexdef | text | Index definition (a reconstructed CREATE INDEX
command) |