Re: Transactions within a function body - Mailing list pgsql-general

From Bob Henkel
Subject Re: Transactions within a function body
Date
Msg-id fedea56b0810020857o124d60fapf7c0a0e7289e773d@mail.gmail.com
Whole thread Raw
In response to Re: Transactions within a function body  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Transactions within a function body
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: tsearch 2 query
Next
From: Martin Pitt
Date:
Subject: Re: [Pkg-postgresql-public] Postgres major version support policy on Debian