Re: ECPG thread-safety - Mailing list pgsql-interfaces

From Philip Yarra
Subject Re: ECPG thread-safety
Date
Msg-id 200303311023.04279.philip@utiba.com
Whole thread Raw
In response to Re: ECPG thread-safety  (Michael Meskes <meskes@postgresql.org>)
Responses Re: ECPG thread-safety
List pgsql-interfaces
On Mon, 31 Mar 2003 00:06, Michael Meskes wrote:
> Is this the only problem you're facing with Informix? I'm currently
> working on other Informix compatibility stuff. And I'd like to get that
> tested as good as possible.

Yes, I recall reading that you were working on better Informix compatibility -
most welcome! Honestly, the changes we needed to make to port from Informix
were pretty minor, as I recall:
- some of the connection syntax differred
- figuring out that OID was not populated in sqlca if not auto-committing
(makes sense really)
- our original code used non-standard ways to name a PREPAREd statement which
threw ECPG (and according the Informix doco shouldn't really have worked for
that either!) so I fixed that in both development streams

You can probably deduce from this that we are not really using a great deal of
functionality in this app - what we have ported so far is a simple logging
server. We really won't be porting any more until ECPG is thread-safe. It's a
major show-stopper, since all of our apps are built on the same (pthreads)
framework.

That said, we would love to help test further Informix compatibility stuff -
anything that makes our future porting process easier would be welcome! Let
us know what you'd like us to test. Diffs are fine.

Regards, Philip.



pgsql-interfaces by date:

Previous
From: Ian Barwick
Date:
Subject: Re: Release of DBD-pg 1.22
Next
From: Adam Witney
Date:
Subject: Re: Release of DBD-pg 1.22