From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Elliot Lee <sopwith(at)redhat(dot)com>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Fix disabled triggers with deferred constraints |
Date: | 2002-08-26 17:41:21 |
Message-ID: | 200208261741.g7QHfLJ13646@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Is this resolved? I think so.
---------------------------------------------------------------------------
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?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-26 18:22:34 | Re: Fix disabled triggers with deferred constraints |
Previous Message | Bruce Momjian | 2002-08-26 16:17:58 | Re: pg_locks cleanup |