Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Each system event provides a hook on which you can program a set of actions.
The database server tracks the events for you, and executes the actions (as defined in the event handler) when the system event satisfies a provided trigger condition.
By defining event handlers to execute when a chosen system event type occurs and satisfies a trigger condition that you define, you can improve the security and safety of your data, and help ease administration. The actions of an event handler are committed if no error is detected during execution, and rolled back if errors are detected.