Re: ECPG thread-safety

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Philip Yarra <philip(at)utiba(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG thread-safety
Date: 2003-03-28 02:00:23
Message-ID: 200303280200.h2S20N218363@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-patches


I have put a mailbox file at:

ftp://candle.pha.pa.us/pub/postgresql/mypatches

where there is a partial implementation of thread-safe ecpg. Maybe you
can work with Michael to complete it.

---------------------------------------------------------------------------

Philip Yarra wrote:
> 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.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-03-28 02:01:13 compile failure in HEAD
Previous Message Philip Yarra 2003-03-28 00:44:37 ECPG thread-safety

Browse pgsql-interfaces by date

  From Date Subject
Next Message Philip Yarra 2003-03-28 06:49:04 Re: ECPG thread-safety
Previous Message Philip Yarra 2003-03-28 00:44:37 ECPG thread-safety

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2003-03-28 03:01:11 Re: Adding Rendezvous support to postmaster
Previous Message Christopher Kings-Lynne 2003-03-28 01:47:32 Re: Adding Rendezvous support to postmaster