pg_matviews
The view pg_matviews provides access to useful information about each materialized view in the database.
| Column | Type | References | Description |
|---|---|---|---|
schemaname |
name |
pg_namespace.nspname |
Name of the schema containing the materialized view |
matviewname |
name |
pg_class.relname |
Name of the materialized view |
matviewowner |
name |
pg_authid.rolname |
Name of the materialized view’s owner |
tablespace |
name |
pg_tablespace.spcname |
Name of the tablespace containing the materialized view ( |
hasindexes |
boolean |
— |
|
ispopulated |
boolean |
— |
|
definition |
text |
— |
Materialized view definition (a reconstructed |