↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 系统目录

pg_indexes

视图pg_indexes提供了有关数据库中每个索引的有用信息。

英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。

当前阅读 PG 18·选择有来源记录的版本

kind
view
lang
en
measured attributes
true
metadata release
18.6
runtime columns
schemaname, tablename, indexname, tablespace, indexdef
runtime verified
false
source
english-manual

版本定义 PG 18

视图pg_indexes提供了有关数据库中每个索引的有用信息。

目录列

列类型可空性描述
schemanamename可空包含表和索引的模式名
tablenamename可空此索引的基表名称
indexnamename可空索引名
tablespacename可空包含索引的表空间名(如使用数据库默认表空间,则为 NULL)
indexdeftext可空索引定义(重建出的CREATE INDEX命令)

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:0c8efaf15b0d91378fdaca5b6a8e8aa1ea9f71f0d722352c7716c86bf2af5b98

正文语言: zh-Hans · 2026-09-27@419045e