Re: SQLDA fix for ECPG

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQLDA fix for ECPG
Дата
Msg-id 6624.1321201631@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SQLDA fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: SQLDA fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: why do we need two snapshots per query?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: why do we need two snapshots per query?