Why not just write the trigger function as: if old.a is distinct from new.a or old.b is distinct from new.b ... end if
-- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend