Re: Disabling triggers / constraints - Mailing list pgsql-patches

From Tom Lane
Subject Re: Disabling triggers / constraints
Date
Msg-id 3705.1085078581@sss.pgh.pa.us
Whole thread Raw
In response to Disabling triggers / constraints  (Jorge Pereira <jrp@ideiaprima.com>)
Responses Re: Disabling triggers / constraints  (Jorge Pereira <jrp@ideiaprima.com>)
List pgsql-patches
Jorge Pereira <jrp@ideiaprima.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

pgsql-patches by date:

Previous
From: Jorge Pereira
Date:
Subject: Disabling triggers / constraints
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Configuration patch