"Stratsimir Kolchevski" <stratsimir(at)bastun(dot)net> writes:
> [ BEFORE DELETE triggers can suppress foreign key updates too ]
This is not a bug, it's operating as designed. If we didn't do that
it would foreclose many useful applications of triggers.
regards, tom lane