Re: SQLDA fix for ECPG - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SQLDA fix for ECPG
Date
Msg-id 6624.1321201631@sss.pgh.pa.us
Whole thread Raw
In response to SQLDA fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: SQLDA fix for ECPG
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: why do we need two snapshots per query?
Next
From: Simon Riggs
Date:
Subject: Re: why do we need two snapshots per query?