Re: Transactions within a function body

Поиск
Список
Период
Сортировка
От Bob Henkel
Тема Re: Transactions within a function body
Дата
Msg-id fedea56b0810020857o124d60fapf7c0a0e7289e773d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Transactions within a function body  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Transactions within a function body  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-general
Coming from an Oracle background my understanding is they're one in the same.
 


 
On Thu, Oct 2, 2008 at 10:37 AM, Alvaro Herrera <alvherre@commandprompt.com> wrote:
Bob Henkel escribió:
> Have you looked at creating a function in perl and creating a new
> connection? Or using a dblink query which can create a new connection?
> These two methods work. I have used them to insert to a log table regardless
> of the parent transaction being commited or rolled back.

That's a different thing, "autonomous transactions".

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tsearch 2 query
Следующее
От: Martin Pitt
Дата:
Сообщение: Re: [Pkg-postgresql-public] Postgres major version support policy on Debian