Re: autonomous transactions

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: autonomous transactions
Дата
Msg-id 1201123979.4257.50.camel@ebony.site
обсуждение исходный текст
Ответ на Re: autonomous transactions  (Neil Conway <neilc@samurai.com>)
Ответы Re: autonomous transactions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 2008-01-23 at 00:26 -0800, Neil Conway wrote:
> On Tue, 2008-01-22 at 20:53 +0100, Pavel Stehule wrote:
> > And there is most important question about data visibility - is
> > autonomous transaction independent on main transaction (isolation)?
> 
> >From looking at how Oracle does them, autonomous transactions are
> completely independent of the transaction that originates them -- they
> take a new database snapshot. This means that uncommitted changes in the
> originating transaction are not visible to the autonomous transaction.

Oh! Recursion depth would need to be tested for as well. Nasty.

--  Simon Riggs 2ndQuadrant  http://www.2ndQuadrant.com



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: autonomous transactions
Следующее
От: Neil Conway
Дата:
Сообщение: Re: autonomous transactions