Re: autonomous transactions

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: autonomous transactions
Дата
Msg-id 162867790801221153s53decf5fpcbca76c4c7d1017d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: autonomous transactions  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: autonomous transactions  (Simon Riggs <simon@2ndquadrant.com>)
Re: autonomous transactions  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
>
> Agreed.  I think Pavel Stehule was doing some experiments with them, I
> don't know if he got anywhere.
>

I did only first research. Any hack is possible - you can stack
current transaction, but real implementation needs similar work like
nested transaction :( and it is too low level for me. And some code
cleaning is necessary. There are global variables.

And there is most important question about data visibility - is
autonomous transaction independent on main transaction (isolation)?
You have to thing about deadlock, about reference integrity, etc. This
task isn't simple.

Pavel



> --
> Alvaro Herrera                                http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
>                 http://www.postgresql.org/about/donate
>


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

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: Suboptimal plan choice problem with 8.3RC2
Следующее
От: Warren Turkal
Дата:
Сообщение: [PATCH] Add TimeOffset and DateOffset typedefs