postgresql_16:7.1.109.2 Parameters
PostgreSQL 16 > Reference > SQL Commands > DROP EXTENSION > Parameters
IF EXISTS
Do not throw an error if the extension does not exist. A notice is issued in this case.
*name*
The name of an installed extension.
CASCADE
Automatically drop objects that depend on the extension, and in turn all objects that depend on those objects (see (see postgresql_16:3.2.14)).
RESTRICT
This option prevents the specified extensions from being dropped if other objects, besides these extensions, their members, and their explicitly dependent routines, depend on them. This is the default.