Re: trigger firing order

Поиск
Список
Период
Сортировка
От chester c young
Тема Re: trigger firing order
Дата
Msg-id 283819.32478.qm@web54303.mail.re2.yahoo.com
обсуждение исходный текст
Ответ на Re: trigger firing order  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-sql
> > does the post trigger on A wait until post trigger on B is
> executed? -> > this seems intuitive to me.
> 
> How can it wait until the trigger on B is executed if the trigger on
> B doesn't
> actually get triggered until someone updates B and it's the trigger
> on A
> doing the update?

trigger A executes until it updates table B, at which point it does it
pause execution until the post update trigger on table B completes, and
then trigger A resumes at the next statement.


      
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: trigger firing order
Следующее
От: Rodrigo De León
Дата:
Сообщение: Re: inner join problem with temporary tables