Re: Fix disabled triggers with deferred constraints

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Elliot Lee <sopwith(at)redhat(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix disabled triggers with deferred constraints
Date: 2002-08-07 16:10:10
Message-ID: 87it2mfy59.fsf@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
> > Elliot Lee <sopwith(at)redhat(dot)com> writes:
> > > About as obscure a bug as you can get - without the patch, disabled
> > > triggers for deferred constraints get run anyways. The patch is simple and
> > > works, but the "right" (and more complicated) fix may involve not adding
> > > the trigger to event->dte_item to begin with.
> >
> > I remember looking at this issue and not doing anything because I
> > couldn't decide whether the test for enabled status should occur when
> > the trigger is queued or when it is executed --- or, perhaps, both?
> > Is there anything in the standard about it?
>
> Was there any agreement on this?

Any update on this?

Cheers,

Neil

--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2002-08-07 16:16:27 Re: CLUSTER patch and regression test
Previous Message Pierre-Yves LANDURE 2002-08-07 14:24:49 Polygon contrib