Alessandro Ipe <Alessandro.Ipe@xxxxxxxx> writes: > My dtrigger definition is > CREATE TRIGGER msg_trigger BEFORE INSERT ON msg FOR EACH ROW EXECUTE PROCEDURE msg_function(); > so it seems that it is a BEFORE trigger. Hm, no AFTER triggers anywhere? Are there foreign keys, perhaps? regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance