Re: Making AFTER triggers act properly in PL functions

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Making AFTER triggers act properly in PL functions
Дата
Msg-id 20040907160325.E17044@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: Making AFTER triggers act properly in PL functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Making AFTER triggers act properly in PL functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 7 Sep 2004, Tom Lane wrote:

> Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> > If I'm reading the above correctly, I think DeferredTriggerSetState may
> > need to change a little if EndQuery works on a separate list of triggers
> > because I believe set constraints immediate currently depends on EndQuery
> > going over the entire list of saved deferred triggers.
>
> But it would.  What I'm imagining is that the current list remains the
> same, but it only contains trigger events from already-completed statements.
> The per-query lists would be "staging areas" for gathering events from
> still-active statements.

I misread then.  I thought that you were proposing that EndQuery look only
at the per-query list and then add the deferred items that weren't fired
to the main list but never go over that list.


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

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: contrib/start-scripts/linux on Debian
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Making AFTER triggers act properly in PL functions