]> begriffs open source - ai-pg/blob - full-docs/txt/sql-dropeventtrigger.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-dropeventtrigger.txt
1
2 DROP EVENT TRIGGER
3
4    DROP EVENT TRIGGER — remove an event trigger
5
6 Synopsis
7
8 DROP EVENT TRIGGER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
9
10 Description
11
12    DROP EVENT TRIGGER removes an existing event trigger. To execute this
13    command, the current user must be the owner of the event trigger.
14
15 Parameters
16
17    IF EXISTS
18           Do not throw an error if the event trigger does not exist. A
19           notice is issued in this case.
20
21    name
22           The name of the event trigger to remove.
23
24    CASCADE
25           Automatically drop objects that depend on the trigger, and in
26           turn all objects that depend on those objects (see
27           Section 5.15).
28
29    RESTRICT
30           Refuse to drop the trigger if any objects depend on it. This is
31           the default.
32
33 Examples
34
35    Destroy the trigger snitch:
36 DROP EVENT TRIGGER snitch;
37
38 Compatibility
39
40    There is no DROP EVENT TRIGGER statement in the SQL standard.
41
42 See Also
43
44    CREATE EVENT TRIGGER, ALTER EVENT TRIGGER