On this page
52.72. pg_indexes
视图pg_indexes提供对有关数据库中每个索引的有用信息的访问。
表 52.73. pg_indexes列
| Name | Type | References | Description |
|---|---|---|---|
schemaname |
name |
pg_namespace.nspname |
包含表和索引的模式名称 |
tablename |
name |
pg_class.relname |
索引所针对的表的名称 |
indexname |
name |
pg_class.relname |
索引名称 |
tablespace |
name |
pg_tablespace.spcname |
包含索引的表空间的名称(如果为数据库的默认值,则为 null) |
indexdef |
text |
索引定义(重构的CREATE INDEX命令) |