ECPG thread-safety

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: Philip Yarra <philip(at)utiba(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Michael Meskes <meskes(at)postgresql(dot)org>
Subject: ECPG thread-safety
Date: 2003-03-28 09:37:08
Message-ID: 16004.6084.733022.946746@kelvin.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-patches

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 to be 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 completion date?
> If not, can we (myself plus a "real" C programmer) help you?
>
> Regards, Philip Yarra.
>
> * Yes, we could use libpq, but ECPG minimises our porting from Informix.
> Rewriting everything to use libpq would be too expensive.
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2003-03-28 13:23:48 Re: DEFAULT in <set clause list>
Previous Message Philip Yarra 2003-03-28 06:49:04 Re: ECPG thread-safety

Browse pgsql-interfaces by date

  From Date Subject
Next Message Adam Witney 2003-03-28 12:15:27 Re: Release of DBD-pg 1.22
Previous Message Philip Yarra 2003-03-28 06:49:04 Re: ECPG thread-safety

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-03-28 15:54:23 Re: ECPG thread-safety
Previous Message Philip Yarra 2003-03-28 06:49:04 Re: ECPG thread-safety