Jorge Pereira <jrp(at)ideiaprima(dot)com> writes:
> ... decided to add a couple little variables to control
> disabling constraints and triggers.
I'm not of the opinion that we actually want any such thing, as it's a
blatant violation of the fundamental concept of data integrity. But in
any case not with such poor control over which triggers get suppressed.
A per-table setting with appropriate permissions checks might possibly
be acceptable.
regards, tom lane