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 <[EMAIL PROTECTED]> for a bug in thread support. ---------------------------- -- Gavin Scott [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster