Re: BEGIN strange behaviour

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

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marco Bizzarri 2007-11-22 13:28:08 Re: backup of postgres scheduled with cron
Previous Message Sorin N. Ciolofan 2007-11-22 13:19:06 backup of postgres scheduled with cron