Re: Fix disabled triggers with deferred constraints

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Fix disabled triggers with deferred constraints
Дата
Msg-id 200208261741.g7QHfLJ13646@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Fix disabled triggers with deferred constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fix disabled triggers with deferred constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Is this resolved?  I think so.

---------------------------------------------------------------------------

Tom Lane wrote:
> Elliot Lee <sopwith@redhat.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_locks cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fix disabled triggers with deferred constraints