Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E8A79475EF0 for ; Fri, 6 Sep 2002 18:30:50 -0400 (EDT) Received: from p2272.nsk.ne.jp (p2272.nsk.ne.jp [210.145.18.145]) by postgresql.org (Postfix) with ESMTP id 72B47475EE6 for ; Fri, 6 Sep 2002 18:30:49 -0400 (EDT) Received: from mcadnote1 (ppm123.noc.fukui.nsk.ne.jp [61.198.95.23]) by p2272.nsk.ne.jp (8.9.3/3.7W-20020802) with SMTP id HAA29044; Sat, 7 Sep 2002 07:30:34 +0900 (JST) From: "Hiroshi Inoue" To: "Jason Koeninger" Cc: Subject: Re: Thread Safety of ODBC Driver Date: Sat, 7 Sep 2002 07:31:08 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20020906024545.A0C73475D35@postgresql.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/14 X-Sequence-Number: 1985 > -----Original Message----- > From: Jason Koeninger > > I was surprised to find a message in the archive indicating that the > PostgreSQL ODBC driver was not thread safe. After running through > the source, I was able to confirm that the driver indeed isn't thread > safe. > > Anyway, I'm curious if anyone is working on making the driver > thread safe. It's on my personal TODO but I haven't had much time to develop psqlodbc recently. > I noticed that some work has been done on the driver provided with > unixODBC (localtime and localtime_r ifdefs), but it still misses > a few things I > found on a quick read through the source. As for static variables, I have removed most of them in my local source. As for non thread-safe functions, please point out how to change them. Maybe I would be able to reflect the change to CVS. regards, Hiroshi Inoue