DROP EVENT TRIGGER
DROP EVENT TRIGGER — remove an event trigger
Synopsis
DROP EVENT TRIGGER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
Description
DROP EVENT TRIGGER removes an existing event trigger. To execute this command, the current user must be the owner of the event trigger.
Parameters
IF EXISTSDo not throw an error if the event trigger does not exist. A notice is issued in this case.
nameThe name of the event trigger to remove.
CASCADEAutomatically drop objects that depend on the trigger, and in turn all objects that depend on those objects (see Section 5.14).
RESTRICTRefuse to drop the trigger if any objects depend on it. This is the default.
Compatibility #
There is no DROP EVENT TRIGGER statement in the SQL standard.