SQLDA fix for ECPG - Mailing list pgsql-hackers

From Boszormenyi Zoltan
Subject SQLDA fix for ECPG
Date
Msg-id 4EBD24E7.3010702@cybertec.at
Whole thread Raw
Responses Re: SQLDA fix for ECPG
Re: SQLDA fix for ECPG
List pgsql-hackers
Hi,

I had a report about ECPG code crashing which involved
a query using a date field. Attached is a one liner fix to make
the date type's offset computed consistently across
sqlda_common_total_size(), sqlda_compat_total_size() and
sqlda_native_total_size().

This must have been a cut and paste bug and is incorrect
in 9.0.x, 9.1.x and GIT HEAD. It would be nice to have it
applied before the next point releases come out.

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/


Attachment

pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Multiple Extensions
Next
From: Robert Haas
Date:
Subject: Re: type privileges and default privileges