Re: BUG #1569: Threads don't see ecpg default connection - Mailing list pgsql-bugs

From Gavin Scott
Subject Re: BUG #1569: Threads don't see ecpg default connection
Date
Msg-id 1115491687.30537.9.camel@localhost.localdomain
Whole thread Raw
In response to Re: BUG #1569: Threads don't see ecpg default connection  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
On Sat, 2005-05-07 at 12:37 -0400, Bruce Momjian wrote:
> Are you still seeing a failure in ecpg?  I ran your test here and got:
>
>     got id = 0
>     got id = 0
>     got id = 0
>     got id = 0
>     got id = 0
>
> This is with thread safety enabled and CVS HEAD, which matches 8.0.X.

Hi Bruce,

This was fixed by r1.25 of pgsql/src/interfaces/ecpg/ecpglib/connect.c :

----------------------------
revision 1.25
date: 2005/04/14 10:08:57;  author: meskes;  state: Exp;  lines: +24 -7
Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in
thread
support.
----------------------------

--
Gavin Scott
gavin@ipalsoftware.com

pgsql-bugs by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: libeay32.dll doesn't exist in the setup of postgresql-8.0.2
Next
From: "Joris"
Date:
Subject: BUG #1654: can't run SQL commands