Re: Autonomous Transaction (WIP)

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Autonomous Transaction (WIP)
Дата
Msg-id 5344EF1B.1020309@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Autonomous Transaction (WIP)  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Список pgsql-hackers
On 04/09/2014 02:44 PM, Pavan Deolasee wrote:
> On Wed, Apr 9, 2014 at 11:03 AM, Rajeev rastogi
> <rajeev.rastogi@huawei.com <mailto:rajeev.rastogi@huawei.com>> wrote:
> 
> 
>     Though autonomous transaction uses mixed approach of sub-transaction
>     as well as main
>     transaction, transaction state of autonomous transaction is handled
>     independently.
> 
> 
> Whenever I was asked to have a look at implementing this feature, I
> always wondered about the great amount of global state that a backend
> maintains which is normally tied to a single top transaction. Since AT
> will have same characteristics as a top level transaction, I wonder how
> do you plan to separate those global state variables ? Sure, we can
> group them in a structure and put them on a stack when an AT starts and
> pop them off when the original top transaction becomes active again,
> finding all such global state variables is going to be tricky.

... not to mention the fact that extensions may rely on having their own
global state.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Autonomous Transaction (WIP)
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Autonomous Transaction (WIP)