Re: transactions

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: transactions
Дата
Msg-id m3bs15ze0j.fsf@varsoon.wireboard.com
обсуждение исходный текст
Ответ на transactions  (Dennis Gearon <gearond@cvc.net>)
Ответы Re: transactions
Список pgsql-general
Dennis Gearon <gearond@cvc.net> writes:

> 1/ Does a procedure take place all in one transaction?

Yes.  If you're not using BEGIN/END explicitly each query is its own
transaction.

> 2/ If I am updating/deleting/inserting into two tables, and both tables have triggers on them to
> check the relationship of the data between the tables, any way of knowing which trigger will fire
> first at the  end of the transaction?

I'm not sure about this one--do the docs say anything?

-Doug

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

Предыдущее
От: Dmitry Tkach
Дата:
Сообщение: Re: A problem with sequences...
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Mutating table (urgent)