Hi, i'm doing a lot of updates in my database, but most of them are
not necessary at all (sorry, just detected it) Therefore i installed a trigger to minimize real updates. create trigger suppress_redundant_updates_boundaries Is there a way to get the count of the real table updates? Using pl/pgsql i'm updating boundaries with update boundaries i get a "wrong" result, because "found" is always true, even when
the records are identical (hope so) and an update should be
suppressed by the trigger. Question: will "found" be set when update has been blocked by the trigger - or does that not matter? if "found" is always true: what else can i do? regards walter |