On Friday, August 31, 2012 12:12:32 PM fellipeh wrote: > Yes, the error appears when I delete "nfentrada_item" row > View this message in context: > http://postgresql.1045698.n5.nabble.com/Tigger-after-delete-with-plpgsql-tp > 5722154p5722173.html Sent from the PostgreSQL - general mailing list archive > at Nabble.com. Well ... I don't know. That runs fine here. Can you post the actual error message you get? Or a \d on both of those tables. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general