Yes, there is a different connection for each thread :-(
Luca.
--------- Original Message --------
Da: Martijn van Oosterhout <[EMAIL PROTECTED]>
To:
Cc: [email protected],
[EMAIL PROTECTED]
Oggetto: Re: [GENERAL] BEGIN strange behaviour
Data: 22/11/07 15:25
>
> On Thu, Nov 22, 2007 at 02:10:49PM +0100, [EMAIL PROTECTED] wrote:
> > Hi All.
> > I've sperimented a strange behaviour using the command BEGIN and COMMIT
in a
> > multi-threaded Linux environment.
> > In one of the two thread I use I've got the following message after
> > PQexec(myconn, "BEGIN;");
>
> You do have different database connections for each thread, right?
> Otherwise that's why it's not working...
>
> Have a nice day,
> --
> Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/
> > Those who make peaceful revolution impossible will make violent
revolution inevitable.
> > -- John F Kennedy
>
>
>
>
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
In REGALO 'All the Good Thing' di NELLY FURTADO
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6616&d=20071122
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly