Re: Autonomous Transactions

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Autonomous Transactions
Дата
Msg-id 1117841008.5758.90.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: Autonomous Transactions  (Matt Miller <mattm@epx.com>)
Список pgsql-general
On Fri, 2005-06-03 at 18:04, Matt Miller wrote:
> > > a way to enable a function to commit a unit of work that
> > > does not affect the caller's transaction.
>
> > accomplish autonomous transactions in PL/pgSQL
> > by just using dblink_connect, dblink_open, dblink_exec,
> > and dblink_close?
>
> My initial tests lead me to believe that dblink is a simple and
> effective way to get anonymous transactions.

We've used them at work for autonomous transactions outside of plpgsql.
Not sure of how well they would or wouldn't work inside plpgsql.

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Determining when a row was inserted
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Old problem needs solution