pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lee Kindness <lkindness@csl.co.uk>
To: Philip Yarra <philip@utiba.com>
Cc: pgsql-interfaces@postgresql.org, Lee Kindness <lkindness@csl.co.uk>
Cc: pgsql-hackers@postgresql.org, Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Michael Meskes <meskes@postgresql.org>
Subject: ECPG thread-safety
Date: Fri, 28 Mar 2003 09:37:08 +0000
Message-ID: <16004.6084.733022.946746@kelvin.csl.co.uk> (raw)
In-Reply-To: <200303281144.37663.philip@utiba.com>
References: <200303281144.37663.philip@utiba.com>

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




view thread (35+ messages)  latest in thread

Message-ID: <16004.6084.733022.946746@kelvin.csl.co.uk>
Permalink:  ../16004.6084.733022.946746@kelvin.csl.co.uk/
Also on:    postgresql.org/message-id/16004.6084.733022.946746@kelvin.csl.co.uk

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lkindness@csl.co.uk, philip@utiba.com, pgman@candle.pha.pa.us, meskes@postgresql.org
  Subject: Re: ECPG thread-safety
  In-Reply-To: <16004.6084.733022.946746@kelvin.csl.co.uk>

* 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