claudiomsi@hotmail.com writes:
> It would be a BUG.
No, this is not a bug. If you create a trigger that disables deletions
on the referencing table, you should not be surprised that
foreign-key-related deletions don't happen. Triggers do fire on FK
actions; it would be substantially less useful if they didn't.
regards, tom lane