ECPG thread-safety - Mailing list pgsql-interfaces

From Lee Kindness
Subject ECPG thread-safety
Date
Msg-id 16004.6084.733022.946746@kelvin.csl.co.uk
Whole thread Raw
In response to ECPG thread-safety  (Philip Yarra <philip@utiba.com>)
Responses Re: ECPG thread-safety  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-interfaces
Philip,

You can find the "patch so far" at:
http://services.csl.co.uk/postgresql/

along with a libpq thread-safe patch.

The thread referenced by Bruce's email details some of the issues
still to be looked at. The main work is integration with the build
system (testing for and linking in POSIX threads) and testing.

I'm more than happy for you to look at at, I haven't had the time I
hoped to complete this.

Thanks, Lee.

Philip Yarra writes:> As I found out recently, ECPG is not thread-safe. This is a problem for us, as > we really need
tobe able to use ECPG* in a multi-threaded C application. > Michael mentioned that Lee is working on fixing these
problems,but was not > sure when it would be complete. > > So, my questions are: > Lee/anyone, do you have an estimated
completiondate? > If not, can we (myself plus a "real" C programmer) help you?> > Regards, Philip Yarra.> > * Yes, we
coulduse libpq, but ECPG minimises our porting from Informix. > Rewriting everything to use libpq would be too
expensive.>
 



pgsql-interfaces by date:

Previous
From: Philip Yarra
Date:
Subject: Re: ECPG thread-safety
Next
From: Adam Witney
Date:
Subject: Re: Release of DBD-pg 1.22