Re: autonomous transactions

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: autonomous transactions
Дата
Msg-id 1201076812.6730.6.camel@goldbach
обсуждение исходный текст
Ответ на Re: autonomous transactions  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: autonomous transactions  (Gregory Stark <stark@enterprisedb.com>)
Re: autonomous transactions  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
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.

On Wed, 2008-01-23 at 08:13 +0000, Simon Riggs wrote:
> Yes, I think autonomous transactions should be on the TODO. They're
> useful for
> - error logging
> - auditing
> - creating new partitions automatically

I think they would also be useful to implement procedures that perform
DDL operations or COMMITs / ROLLBACKs.

-Neil




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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: autonomous transactions
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: autonomous transactions