ALTER EVENT TRIGGER
Synopsis
ALTER EVENT TRIGGERname DISABLEALTER EVENT TRIGGERname ENABLE [ REPLICA | ALWAYS ]ALTER EVENT TRIGGERname OWNER TOnew_ownerALTER EVENT TRIGGERname RENAME TOnew_name
Description
ALTER EVENT TRIGGER changes properties of an existing event trigger.
You must be superuser to alter an event trigger.
Parameters
- name
The name of an existing trigger to alter.
- new_owner
The user name of the new owner of the event trigger.
- new_name
The new name of the event trigger.
- DISABLE/ENABLE [ REPLICA | ALWAYS ] TRIGGER
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 alsosession_replication_role.