postgresql_16:7.1.127.2 Parameters
PostgreSQL 16 > Reference > SQL Commands > DROP SCHEMA > Parameters
IF EXISTS
Do not throw an error if the schema does not exist. A notice is issued in this case.
*name*
The name of a schema.
CASCADE
Automatically drop objects (tables, functions, etc.) that are contained in the schema, and in turn all objects that depend on those objects (see (see postgresql_16:3.2.14)).
RESTRICT
Refuse to drop the schema if it contains any objects. This is the default.