Re: NaN/Inf fix for ECPG

Поиск
Список
Период
Сортировка
От Rémi Zara
Тема Re: NaN/Inf fix for ECPG
Дата
Msg-id F7DDC002-E59F-4551-BC95-7CB28F6B9EB4@mac.com
обсуждение исходный текст
Ответ на Re: NaN/Inf fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: NaN/Inf fix for ECPG  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Le 26 févr. 2010 à 12:12, Boszormenyi Zoltan a écrit :

>
> ecpglib/data.c includes "postgres_fe.h", so it should be pulling
> everything that's relevant from port/*, right?
>
> Michael, can we try to install the first two patches?
> They wouldn't hurt.
>

I've tried patch 1 and 2, but they do not work. The fact is that the code is not used in the backend, because
strtod("NaN",endptr) works. (isnan(strtod("NaN", endptr)) is true). 

I should also note that isnan((double)nan("")) is true (works).

I will also report to NetBSD that isnan((double)NAN) does not work on mips.

Regards,

Rémi Zara




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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Hot Standby query cancellation and Streaming Replication integration
Следующее
От: Greg Stark
Дата:
Сообщение: Re: A thought on Index Organized Tables