"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> [ circular trigger relationships ]
> I expect the DELETE from a to delete related b record(s) and then succeed.
> Instead the UPDATE in b_del_trig causes delete of a to silently fail.
The update causes the already-selected target row version of the DELETE
to be obsoleted, so heap_delete finds it has nothing to do. I'm
disinclined to mess with that logic.
regards, tom lane