Re: NaN/Inf fix for ECPG

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NaN/Inf fix for ECPG
Дата
Msg-id 3885.1267112279@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: NaN/Inf fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: NaN/Inf fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
Список pgsql-hackers
Boszormenyi Zoltan <zb@cybertec.at> writes:
> Can you try whether the first patch (missing float.h from data.c)
> solves the problem? And together with the 2nd one? In that
> patch I fixed the order of float.h and math.h in nan_test.pgc,
> which is the opposite of the order found in e.g. backend/utils/adt/float.c.

> The 3rd patch is explicit about NetBSD/mips but it doesn't feel right.

The third patch is surely wrong.  We don't need to do that in the
backend's instance of get_float8_nan, so ecpglib shouldn't need it
either.

I suspect that the ultimate cause of this is either one of the header
inclusion inconsistencies you found, or something associated with
not pulling in all the stuff that postgres.h does.  port/netbsd.h
is empty though, so it's not immediately clear what might be missing.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Odd CVS revision number
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication and pg_xlogfile_name()