Re: possible ecpg compatibility problem - Mailing list pgsql-general

From Boszormenyi Zoltan
Subject Re: possible ecpg compatibility problem
Date
Msg-id 4E37F215.4030606@cybertec.at
Whole thread Raw
In response to possible ecpg compatibility problem  (Paul Tilles <Paul.Tilles@noaa.gov>)
List pgsql-general
Hi,

2011-08-01 16:11 keltezéssel, Paul Tilles írta:
> I have an executable which uses ecpg which was created on a system using postgres
> version 8.2.6.  I sent it to a site with version 8.4.7 installed.  The executable fails
> with a memory fault.
>
> Is there a problem doing this?

Try recompiling your ecpg code with 8.4.x's ecpg and use that.
At least the public ECPGdo() interface have changed between
8.2 and 8.4, so your old binary compiled with 8.2 obviously fails.
I wonder why the runtime linker didn't complain, the major
SO version has also changed between these two versions.

Best regards,
Zoltán Böszörményi

--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
     http://www.postgresql.at/


pgsql-general by date:

Previous
From: senthilnathan
Date:
Subject: Timeline Conflict
Next
From: Merlin Moncure
Date:
Subject: Re: Timeline Conflict