Re: [BUGS] [HACKERS] Float value 'Infinity' is cast to numeric 1 on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] [HACKERS] Float value 'Infinity' is cast to numeric 1 on Windows
Дата
Msg-id 24525.1506523199@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] [HACKERS] Float value 'Infinity' is cast to numeric 1 on Windows  (Kohei KaiGai <kaigai@heterodb.com>)
Список pgsql-bugs
Kohei KaiGai <kaigai@heterodb.com> writes:
> Does it make sense to put a check of "isinf(val)" and ereport prior to
> the snprintf()?

Yeah, that was my reaction too.  Obviously this wasn't thought about
in the original coding ...
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: Re: [BUGS] [HACKERS] Float value 'Infinity' is cast to numeric 1 on Windows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] [BUGS] BUG #14825: enum type: unsafe use?