This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
version, or one of the supported versions listed above instead.
DROP EVENT TRIGGER
DROP EVENT TRIGGER -- remove an event trigger
DROP EVENT TRIGGER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
DROP EVENT TRIGGER removes an existing event trigger. To execute this command, the current user must be the owner of the event trigger.
- IF EXISTS
Do not throw an error if the event trigger does not exist. A notice is issued in this case.
The name of the event trigger to remove.
Automatically drop objects that depend on the trigger.
Refuse to drop the trigger if any objects depend on it. This is the default.
Destroy the trigger snitch:
DROP EVENT TRIGGER snitch;
There is no DROP EVENT TRIGGER statement in the SQL standard.