Re: Implementing 2 different transactions in a PL/Perl function - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: Implementing 2 different transactions in a PL/Perl function
Date
Msg-id B9241C82-DC9D-49ED-B66C-9CD3549931B4@seespotcode.net
Whole thread Raw
In response to Implementing 2 different transactions in a PL/Perl function  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
List pgsql-general
On Jul 10, 2007, at 14:41 , Jasbinder Singh Bali wrote:

> I basically want 2 independent transactions in my function so that
> 1 commits as soon as it is done and 2 doesn't
> depend on it at all.

If they're truly independent, I'd write them as two separate
functions., possibly calling both of them from within a third.

Michael Glaesemann
grzm seespotcode net



pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Hyper-Trading
Next
From: "Jasbinder Singh Bali"
Date:
Subject: Re: Implementing 2 different transactions in a PL/Perl function