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.
Table name of the triggering relation.
Actual onstraint specification.
Contraint attributes.
Function to call as part of the trigger processing.
Message returned if successful.
CREATE CONSTRAINT TRIGGER is used from inside of CREATE/ALTER TABLE and by pg_dump to create the special triggers for referential integrity.
It is not intended for general use.