Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 39DC8475DDB for ; Thu, 5 Sep 2002 22:45:46 -0400 (EDT) Received: from mail.jjcc.com (ns.jjcc.com [207.15.44.164]) by postgresql.org (Postfix) with SMTP id A0C73475D35 for ; Thu, 5 Sep 2002 22:45:45 -0400 (EDT) Received: from [205.240.73.230] by mail.jjcc.com; Fri, 06 Sep 2002 02:45:40 GMT From: "Jason Koeninger" To: "pgsql-odbc@postgresql.org" Date: Thu, 05 Sep 2002 21:39:15 -0500 Reply-To: "Jason Koeninger" X-Mailer: PMMail 2000 Standard (2.20.2472) For Windows 2000 (5.0.2195;2) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Thread Safety of ODBC Driver Message-Id: <20020906024545.A0C73475D35@postgresql.org> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/13 X-Sequence-Number: 1984 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. 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. I have a threaded application running on FreeBSD with iODBC that I need to get working, and I'd rather not duplicate effort if someone already has patches for the driver. Thanks, Jason Koeninger J&J Computer Consulting http://www.jjcc.com