2 .\" Title: ALTER EVENT TRIGGER
3 .\" Author: The PostgreSQL Global Development Group
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
6 .\" Manual: PostgreSQL 18.0 Documentation
7 .\" Source: PostgreSQL 18.0
10 .TH "ALTER EVENT TRIGGER" "7" "2025" "PostgreSQL 18.0" "PostgreSQL 18.0 Documentation"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 ALTER_EVENT_TRIGGER \- change the definition of an event trigger
35 ALTER EVENT TRIGGER \fIname\fR DISABLE
36 ALTER EVENT TRIGGER \fIname\fR ENABLE [ REPLICA | ALWAYS ]
37 ALTER EVENT TRIGGER \fIname\fR OWNER TO { \fInew_owner\fR | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
38 ALTER EVENT TRIGGER \fIname\fR RENAME TO \fInew_name\fR
42 \fBALTER EVENT TRIGGER\fR
43 changes properties of an existing event trigger\&.
45 You must be superuser to alter an event trigger\&.
50 The name of an existing trigger to alter\&.
55 The user name of the new owner of the event trigger\&.
60 The new name of the event trigger\&.
63 DISABLE/ENABLE [ REPLICA | ALWAYS ]
65 These forms configure the firing of event triggers\&. A disabled trigger is still known to the system, but is not executed when its triggering event occurs\&. See also
66 session_replication_role\&.
71 \fBALTER EVENT TRIGGER\fR
72 statement in the SQL standard\&.
74 CREATE EVENT TRIGGER (\fBCREATE_EVENT_TRIGGER\fR(7)), DROP EVENT TRIGGER (\fBDROP_EVENT_TRIGGER\fR(7))