Re: ECPG, threading and pooling - Mailing list pgsql-hackers

From Lee Kindness
Subject Re: ECPG, threading and pooling
Date
Msg-id 15925.7538.41029.748020@kelvin.csl.co.uk
Whole thread Raw
In response to Re: ECPG, threading and pooling  (Michael Meskes <meskes@postgresql.org>)
Responses Re: ECPG, threading and pooling
List pgsql-hackers
Michael,

Michael Meskes writes:
 > On Thu, Jan 23, 2003 at 02:40:33PM +0530, Shridhar Daithankar<shridhar_daithankar@persistent.co.in> wrote:
 > > I would like to use ECPG as it is relatively easy to code. However my
 > > application is multithreaded and also uses connecion pools.
 >
 > I'm afraid it needs some work to be thread-safe. sqlca is defined
 > statically. No big deal it seems to implement a thread safe version but
 > I haven't yet found the time.

I've spent a bit of time on making ecpg thread safe over Christmas,
while it's not finished i'm sure the attached patch is at least useful
and a step in the right direction.

Lee.


Attachment

pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Re: [CYGWIN] Have a PG 7.3.1 Windows (cygwin) easy installer... now
Next
From: "Dave Page"
Date:
Subject: Re: [CYGWIN] Have a PG 7.3.1 Windows (cygwin) easy installer... now what to do with it?