CREATE CONSTRAINT TRIGGER name
    AFTER events ON
    relation constraint attributes
    FOR EACH ROW EXECUTE PROCEDURE func '(' args ')'
  
The name of the constraint trigger.
The event categories for which this trigger should be fired.
The name (possibly schema-qualified) of the relation in which the triggering events occur.
Actual constraint specification.
Constraint attributes.
Function to call as part of the trigger processing.