| From: | Gavin Scott <gavin(at)ipalsoftware(dot)com> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #1569: Threads don't see ecpg default connection |
| Date: | 2005-05-07 18:48:06 |
| Message-ID: | 1115491687.30537.9.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(dot)yarra(at)internode(dot)on(dot)net> for a bug in
thread
support.
----------------------------
--
Gavin Scott
gavin(at)ipalsoftware(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Meskes | 2005-05-08 09:13:03 | Re: BUG #1569: Threads don't see ecpg default connection |
| Previous Message | Andreas Pflug | 2005-05-07 18:00:46 | Re: request |