4 DROP MATERIALIZED VIEW — remove a materialized view
8 DROP MATERIALIZED VIEW [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
12 DROP MATERIALIZED VIEW drops an existing materialized view. To execute
13 this command you must be the owner of the materialized view.
18 Do not throw an error if the materialized view does not exist. A
19 notice is issued in this case.
22 The name (optionally schema-qualified) of the materialized view
26 Automatically drop objects that depend on the materialized view
27 (such as other materialized views, or regular views), and in
28 turn all objects that depend on those objects (see
32 Refuse to drop the materialized view if any objects depend on
33 it. This is the default.
37 This command will remove the materialized view called order_summary:
38 DROP MATERIALIZED VIEW order_summary;
42 DROP MATERIALIZED VIEW is a PostgreSQL extension.
46 CREATE MATERIALIZED VIEW, ALTER MATERIALIZED VIEW, REFRESH MATERIALIZED