Re: Fix disabled triggers with deferred constraints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix disabled triggers with deferred constraints
Дата
Msg-id 16877.1028738783@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix disabled triggers with deferred constraints  (Neil Conway <nconway@klamath.dyndns.org>)
Ответы Re: Fix disabled triggers with deferred constraints  (Neil Conway <nconway@klamath.dyndns.org>)
Список pgsql-patches
Neil Conway <nconway@klamath.dyndns.org> writes:
> 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?
>>
>> Was there any agreement on this?

> Any update on this?

I think we're still waiting for someone to figure out what the behavior
should be per spec.

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: CLUSTER patch and regression test
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Fix disabled triggers with deferred constraints