Re: BEGIN strange behaviour

From: luca(dot)ciciriello(at)email(dot)it
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-general(at)postgresql(dot)org, alessandra(dot)autunno(at)galileoavionica(dot)it
Subject: Re: BEGIN strange behaviour
Date: 2007-11-22 13:43:02
Message-ID: 209d73f52a95b6c7be3ea6135db2cf9e@85.18.140.153
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, there is a different connection for each thread :-(

Luca.

--------- Original Message --------
Da: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To:
Cc: pgsql-general(at)postgresql(dot)org,
alessandra(dot)autunno(at)galileoavionica(dot)it
Oggetto: Re: [GENERAL] BEGIN strange behaviour
Data: 22/11/07 15:25

>
> On Thu, Nov 22, 2007 at 02:10:49PM +0100, luca(dot)ciciriello(at)email(dot)it 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 <kleptog(at)svana(dot)org> 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-11-22 13:46:03 Re: [SQL] Bad Schema Design or Useful Trick?
Previous Message Francesco Esposito 2007-11-22 13:35:14 Re: BEGIN strange behaviour