]> begriffs open source - ai-pg/blob - full-docs/txt/sql-altereventtrigger.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-altereventtrigger.txt
1
2 ALTER EVENT TRIGGER
3
4    ALTER EVENT TRIGGER — change the definition of an event trigger
5
6 Synopsis
7
8 ALTER EVENT TRIGGER name DISABLE
9 ALTER EVENT TRIGGER name ENABLE [ REPLICA | ALWAYS ]
10 ALTER EVENT TRIGGER name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SE
11 SSION_USER }
12 ALTER EVENT TRIGGER name RENAME TO new_name
13
14 Description
15
16    ALTER EVENT TRIGGER changes properties of an existing event trigger.
17
18    You must be superuser to alter an event trigger.
19
20 Parameters
21
22    name
23           The name of an existing trigger to alter.
24
25    new_owner
26           The user name of the new owner of the event trigger.
27
28    new_name
29           The new name of the event trigger.
30
31    DISABLE/ENABLE [ REPLICA | ALWAYS ]
32           These forms configure the firing of event triggers. A disabled
33           trigger is still known to the system, but is not executed when
34           its triggering event occurs. See also session_replication_role.
35
36 Compatibility
37
38    There is no ALTER EVENT TRIGGER statement in the SQL standard.
39
40 See Also
41
42    CREATE EVENT TRIGGER, DROP EVENT TRIGGER