Mike Nolan <[EMAIL PROTECTED]> writes: > Yes it does. OK, that means Tom's original suggestion of checking > the other table for the same value before updating it should prevent > an infinite loop, providing that's done from a pair of 'after update' > triggers, using the NEW.column entries in the triggered table to update > the other table.
Actually, I wasn't thinking very clearly. The easiest way to break the loop is to avoid updating the other table when OLD.x = NEW.x in the trigger's arguments. The other way requires a rather-redundant SELECT to see what is in the other table. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])