Re: Implementing 2 different transactions in a PL/Perl function

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: "Jasbinder Singh Bali" <jsbali(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Implementing 2 different transactions in a PL/Perl function
Date: 2007-07-10 19:51:43
Message-ID: B9241C82-DC9D-49ED-B66C-9CD3549931B4@seespotcode.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrej Ricnik-Bay 2007-07-10 19:51:51 Re: Hyper-Trading
Previous Message Richard Huxton 2007-07-10 19:46:24 Re: Implementing 2 different transactions in a PL/Perl function