Frank Joerdens <frank(at)joerdens(dot)de> writes:
>> Just an idea: Is it safe to just delete the corresponding row in
>> pg_trigger?
> No, it ain't: After deleting the rows corresponding to the offending
> triggers in pg_trigger, I can't vacuum, or dump.
You need to adjust the reltriggers counts in the associated pg_class
entries, too.
regards, tom lane