CREATE TRIGGER trigger_thing_notify AFTER INSERT OR UPDATE OR DELETE ON thing FOR EACH ROW EXECUTE PROCEDURE thing_notify();