DROP EXTENSION — remove an extension
DROP EXTENSION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
You must own the extension to use DROP EXTENSION.
IF EXISTSDo not throw an error if the extension does not exist. A notice is issued in this case.
nameThe name of an installed extension.
CASCADEAutomatically drop objects that depend on the extension, and in turn all objects that depend on those objects (see Section 6.14).
RESTRICTThis 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.
DROP EXTENSION is a LightDB
extension.