CREATE TRIGGER creates a new trigger. The trigger will be associated with the specified table or view and will execute the specified function function_name ...
www.postgresql.org