Re: SQLDA fix for ECPG
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Boszormenyi Zoltan <zb@cybertec.at>
Cc: PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>, Michael Meskes <meskes@postgresql.org>
Date: 2011-11-13T16:27:11Z
Lists: pgsql-hackers
Boszormenyi Zoltan <zb@cybertec.at> writes: > 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(). Is this really the only issue there? I notice discrepancies among those three routines for some other types too, notably ECPGt_timestamp and ECPGt_interval. regards, tom lane