{"Entry":{"collection":"catalog","key":"pg_matviews","name":"pg_matviews","aliases":[],"metadata":{"changed_in":[],"changes":[{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"9.2","order":false,"removed":[],"status":"added","to":"9.3","types":[]}],"column_count":7,"content_hash":"1f2bf3fc7b24a08c0ca26d07a4aab14915f45ba5ee777585d83cd77cb39ab56d","first_version":"9.3","imported_at":"2026-09-30T00:40:55.62467+08:00","kind":"view","last_version":"20","name":"pg_matviews","position":45,"present_in":["9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"relation_oid":null,"relkind":"v","shared":false,"source_rev":"english-manuals:2d999315155f22ac16fb17ff37eb297a713180302db635c736a6470f4fe7234a","summary":"The view pg_matviews provides access to useful information about each materialized view in the database.","summary_zh":""}},"Definition":{"Collection":"catalog","Key":"pg_matviews","SourceDatabase":"center","Version":"18","SourceTable":"catalog","SourceKey":"pg_matviews","SourceRevision":"english-manuals:2d999315155f22ac16fb17ff37eb297a713180302db635c736a6470f4fe7234a","Facts":{"columns":[{"array_dimensions":0,"attnum":1,"description":"Name of schema containing materialized view","description_zh":"","documented":true,"documented_name":"schemaname","hidden":false,"name":"schemaname","not_null":false,"references":"pg_namespace.nspname","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":2,"description":"Name of materialized view","description_zh":"","documented":true,"documented_name":"matviewname","hidden":false,"name":"matviewname","not_null":false,"references":"pg_class.relname","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":3,"description":"Name of materialized view's owner","description_zh":"","documented":true,"documented_name":"matviewowner","hidden":false,"name":"matviewowner","not_null":false,"references":"pg_authid.rolname","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":4,"description":"Name of tablespace containing materialized view (null if default for database)","description_zh":"","documented":true,"documented_name":"tablespace","hidden":false,"name":"tablespace","not_null":false,"references":"pg_tablespace.spcname","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":5,"description":"True if materialized view has (or recently had) any indexes","description_zh":"","documented":true,"documented_name":"hasindexes","hidden":false,"name":"hasindexes","not_null":false,"references":"","type":"bool","type_modifier":-1,"type_oid":16},{"array_dimensions":0,"attnum":6,"description":"True if materialized view is currently populated","description_zh":"","documented":true,"documented_name":"ispopulated","hidden":false,"name":"ispopulated","not_null":false,"references":"","type":"bool","type_modifier":-1,"type_oid":16},{"array_dimensions":0,"attnum":7,"description":"Materialized view definition (a reconstructed SELECT query)","description_zh":"","documented":true,"documented_name":"definition","hidden":false,"name":"definition","not_null":false,"references":"","type":"text","type_modifier":-1,"type_oid":25}],"description":"The view pg_matviews provides access to useful information about each materialized view in the database.","description_zh":"","doc":{"anchor":"id-1.10.5.18.5","file":"view-pg-matviews.html","lang":"en","sha256":"1d99d211debeaba8fcb5cff1b1854f94364c5fe2319315ed415f1afd8dc68ea7","slug":"18"},"kind":"view","lang":"en","measured_attributes":true,"metadata_release":"18.6","runtime_columns":["schemaname","matviewname","matviewowner","tablespace","hasindexes","ispopulated","definition"],"runtime_verified":false,"source":"english-manual"},"ManualEvidence":{"doc":{"anchor":"id-1.10.5.18.5","file":"view-pg-matviews.html","lang":"en","sha256":"1d99d211debeaba8fcb5cff1b1854f94364c5fe2319315ed415f1afd8dc68ea7","slug":"18"}},"MeasuredEvidence":{"measured_attributes":true,"metadata_release":"18.6","runtime_columns":["schemaname","matviewname","matviewowner","tablespace","hasindexes","ispopulated","definition"],"runtime_verified":false}},"Text":{"Collection":"catalog","Key":"pg_matviews","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_matviews","Summary":"视图pg_matviews提供了对数据库中每个物化视图的有用信息的访问。","BodyHTML":"\u003cp\u003e视图pg_matviews提供了对数据库中每个物化视图的有用信息的访问。\u003c/p\u003e","SourceRevision":"2026-09-27@419045e","ContentHash":"5788364476358b1fd2a733ac98ab5b159545cd6538468af569556cb60584877b","Payload":{"columns":[{"description_zh":"包含物化视图的模式名称","name":"schemaname","type":"name","zh_from":"doc"},{"description_zh":"物化视图名称","name":"matviewname","type":"name","zh_from":"doc"},{"description_zh":"物化视图拥有者名称","name":"matviewowner","type":"name","zh_from":"doc"},{"description_zh":"包含物化视图的表空间名（如使用数据库默认表空间则为 NULL）","name":"tablespace","type":"name","zh_from":"doc"},{"description_zh":"如果物化视图有（或者最近有过）任何索引，则此列为真","name":"hasindexes","type":"boolean","zh_from":"doc"},{"description_zh":"如果物化视图当前已被填充，则此列为真","name":"ispopulated","type":"boolean","zh_from":"doc"},{"description_zh":"物化视图的定义（一个重建的SELECT查询）","name":"definition","type":"text","zh_from":"doc"}],"description_zh":"视图pg_matviews提供了对数据库中每个物化视图的有用信息的访问。","zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
