X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 58F0452B76 for ; Fri, 12 Aug 2005 18:45:32 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97213-01 for ; Fri, 12 Aug 2005 21:45:30 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 6B00152AFE for ; Fri, 12 Aug 2005 18:45:29 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j7CLjSX28684; Fri, 12 Aug 2005 17:45:28 -0400 (EDT) From: Bruce Momjian Message-Id: <200508122145.j7CLjSX28684@candle.pha.pa.us> Subject: Re: Libpq driver: thread problem In-Reply-To: To: Dave Page Date: Fri, 12 Aug 2005 17:45:28 -0400 (EDT) Cc: Marko Ristola , pgsql-odbc@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=[AWL=0.010] X-Spam-Level: X-Archive-Number: 200508/126 X-Sequence-Number: 5765 OK, thanks. --------------------------------------------------------------------------- Dave Page wrote: > > > > -----Original Message----- > > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] > > Sent: 12 August 2005 22:25 > > To: Dave Page > > Cc: Marko Ristola; pgsql-odbc@postgresql.org > > Subject: Re: [ODBC] Libpq driver: thread problem > > > > Dave Page wrote: > > > Err, what's been saved? This is part of a discussion re psqlODBC - > > > there's no patches here yet, and any that do come of it will be for > > > psqlODBC, not the server. > > > > Uh, doesn't libpq have the same issue? > > Setlocale() doesn't appear to be used in libpq afaics (unless it's used > in some external macro or function I haven't found). > > Besides, the problem being discussed in the thread turned out to be a > logic error in the LIBPQ_Execute function in the driver. Once I tracked > it down, it worked perfectly. > > Regards, Dave. > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073