CREATE CONSTRAINT TRIGGER name AFTER events ON tablename constraint attributes FOR EACH ROW EXECUTE PROCEDURE funcname ( args )
CREATE CONSTRAINT TRIGGER is used within CREATE TABLE/ALTER TABLE and by pg_dump to create the special triggers for referential integrity. It is not intended for general use.
The name of the constraint trigger.
The event categories for which this trigger should be fired.
The name (possibly schema-qualified) of the table in which the triggering events occur.
Actual constraint specification.
The constraint attributes.
The function to call as part of the trigger processing.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.