Redrock Postgres 搜索 英文
版本: 9.3 / 9.4 / 9.5 / 9.6 / 10 / 11 / 12 / 13 / 14

47.58. pg_indexes

pg_indexes提供对数据库中每个索引的有用信息的访问。

表 47-59. pg_indexes 字段

名字类型引用描述
schemanamenamepg_namespace.nspname包含表和索引的模式的名字
tablenamenamepg_class.relname此索引所服务的表的名字
indexnamenamepg_class.relname索引的名字
tablespacenamepg_tablespace.spcname包含索引的表空间名字(如果是数据库缺省,则为 NULL)
indexdeftext 索引定义(一个重建的CREATE INDEX命令)