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

53.14. pg_matviews #

视图 pg_matviews 提供对数据库中每个物化视图的有用信息的访问。

表 53.14. pg_matviews

列 类型

描述

schemaname name (引用 pg_namespace.nspname)

包含物化视图的模式名称

matviewname name (引用 pg_class.relname)

物化视图名称

matviewowner name (引用 pg_authid.rolname)

物化视图所有者名称

tablespace name (引用 pg_tablespace.spcname)

包含物化视图的表空间名称 (如果使用数据库的默认值则为 NULL)

hasindexes bool

如果物化视图有 (或最近有) 任何索引,则为 True

ispopulated bool

如果物化视图当前已填充,则为 True

definition text

物化视图定义 (一个重构的 SELECT 查询)