9.3 9.4 9.5 9.6 10 11 12 13
阿里云PostgreSQL 问题报告 纠错本页面

48.61. pg_matviews

pg_matviews视图提供了访问关于每个物化视图在数据库中的有用信息的接口。

表 48-62. pg_matviews 字段

名字类型引用描述
schemanamenamepg_namespace.nspname包含物化视图的模式名
matviewnamenamepg_class.relname物化视图的名字
matviewownernamepg_authid.rolname物化视图的所有者的名字
tablespacenamepg_tablespace.spcname包含物化视图的名字空间的名字(如果对于数据库是缺省的则为null)
hasindexesboolean 如果物化视图有(或最近有)任何索引则为真
ispopulatedboolean 如果物化视图当前填充了则为真
definitiontext 物化视图定义(一个重新构造的SELECT查询)
<
/BODY >