pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Jason Koeninger <jkoenin@jjcc.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Thread Safety of ODBC Driver
Date: Sat, 7 Sep 2002 07:31:08 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJAELFJAAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <20020906024545.A0C73475D35@postgresql.org>

> -----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





view thread (6+ messages)  latest in thread

Message-ID: <EKEJJICOHDIEMGPNIFIJAELFJAAA.Inoue@tpf.co.jp>
Permalink:  ../EKEJJICOHDIEMGPNIFIJAELFJAAA.Inoue@tpf.co.jp/
Also on:    postgresql.org/message-id/EKEJJICOHDIEMGPNIFIJAELFJAAA.Inoue@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, jkoenin@jjcc.com
  Subject: Re: Thread Safety of ODBC Driver
  In-Reply-To: <EKEJJICOHDIEMGPNIFIJAELFJAAA.Inoue@tpf.co.jp>
  References: <20020906024545.A0C73475D35@postgresql.org> <EKEJJICOHDIEMGPNIFIJAELFJAAA.Inoue@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox