| From: | Lee Kindness <lkindness(at)csl(dot)co(dot)uk> |
|---|---|
| To: | Michael Meskes <meskes(at)postgresql(dot)org> |
| Cc: | "Shridhar Daithankar<shridhar_daithankar(at)persistent(dot)co(dot)in>" <shridhar_daithankar(at)persistent(dot)co(dot)in>, pgsql-hackers(at)postgresql(dot)org, Lee Kindness <lkindness(at)csl(dot)co(dot)uk> |
| Subject: | Re: ECPG, threading and pooling |
| Date: | 2003-01-27 11:52:18 |
| Message-ID: | 15925.7538.41029.748020@kelvin.csl.co.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Michael,
Michael Meskes writes:
> On Thu, Jan 23, 2003 at 02:40:33PM +0530, Shridhar Daithankar<shridhar_daithankar(at)persistent(dot)co(dot)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 | Content-Type | Size |
|---|---|---|
| ecpg-threadsafe.patch.gz | application/octet-stream | 6.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2003-01-27 12:08:38 | Re: Have a PG 7.3.1 Windows (cygwin) easy installer... now what to do with it? |
| Previous Message | Justin Clift | 2003-01-27 11:51:20 | Re: Have a PG 7.3.1 Windows (cygwin) easy installer... now |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Meskes | 2003-01-27 12:28:42 | Re: ECPG, threading and pooling |
| Previous Message | Neil Conway | 2003-01-27 01:07:45 | fix pl/pgsql %type bug |