Destructive Operations

DROP SCHEMA

Lock mode ACCESS EXCLUSIVE
Risk CRITICAL
Blocks reads, writes, other DDL
pgfence rule drop-schema
DROP SCHEMA reporting;

What this does

Drops the schema itself; fails if it still contains objects unless CASCADE is added.

Read more

More in Destructive Operations