Thread safe ecpg

Started by Shridhar Daithankar<shridhar_daithankar@persistent.co.in>almost 23 years ago4 messages

Hi all,

I was just wondering.The patches for making ecpg thread safe that were
floating around few days back, are they going to make in any near future
releases?

I am badly bitten by libpq as code i my multithreaded app. is growing
steadily. I find myself making stupid mistakes every now and then.Of course I
don't expect any language to solve them for me but with ecpg it would be bit
easier.

Just thinking..

Shridhar

#2Michael Meskes
meskes@postgresql.org
In reply to: Shridhar Daithankar<shridhar_daithankar@persistent.co.in> (#1)
Re: Thread safe ecpg

On Mon, Feb 24, 2003 at 09:23:38PM +0530, Shridhar Daithankar<shridhar_daithankar@persistent.co.in> wrote:

I was just wondering.The patches for making ecpg thread safe that were
floating around few days back, are they going to make in any near future
releases?

I sure hope so. AFAIK there are some small issues with it. That's why
they aren't committed yet.

Michael

--
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

#3Lee Kindness
lkindness@csl.co.uk
In reply to: Michael Meskes (#2)
Re: Thread safe ecpg

Okay guys, i've been a bit tight of time recently to move forward on
this, but I plan to do a small amount of work on the patches to clean
them up so they can be merged into the sources.

I'll also add a README to document what will need to be fudged in the
makefile to get it building. Hopefully this should be workable until
proper configure support is added?

I'd love to say i'd get this done some evening this week, but it's
unlikely. And i'm away in the States on business all next week... I'll
see what I can do...

Thanks, :Lee

Michael Meskes writes:

Show quoted text

On Mon, Feb 24, 2003 at 09:23:38PM +0530, Shridhar Daithankar<shridhar_daithankar@persistent.co.in> wrote:

I was just wondering.The patches for making ecpg thread safe that were
floating around few days back, are they going to make in any near future
releases?

I sure hope so. AFAIK there are some small issues with it. That's why
they aren't committed yet.

Michael

#4Michael Meskes
meskes@postgresql.org
In reply to: Lee Kindness (#3)
Re: Thread safe ecpg

On Tue, Feb 25, 2003 at 03:58:51PM +0000, Lee Kindness wrote:

Okay guys, i've been a bit tight of time recently to move forward on
this, but I plan to do a small amount of work on the patches to clean
them up so they can be merged into the sources.

Thanks a lot for your work Lee.

Michael
--
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!