Re: NaN support in NUMERIC data type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NaN support in NUMERIC data type
Дата
Msg-id 26047.1239236212@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: NaN support in NUMERIC data type  (Sam Mason <sam@samason.me.uk>)
Ответы Re: NaN support in NUMERIC data type  (Sam Mason <sam@samason.me.uk>)
Список pgsql-hackers
Sam Mason <sam@samason.me.uk> writes:
> On Wed, Apr 08, 2009 at 06:11:59PM -0400, Tom Lane wrote:
>> Anyway, I revised this a bit and applied to HEAD.

> I've not tested; but your changes look as though they will break:
>   SELECT 'Infinity'::float::numeric;

That gives an error now, just as it did before, so I'm not sure what you
think is broken about it ...

> Out of personal interest; why did you translate:
>   while(isspace(*p)) p++;
> into more verbose forms?

I just copied-and-pasted what was there before (inside the subroutine).
Didn't see much reason to change it.
        regards, tom lane


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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: NaN support in NUMERIC data type
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: Re: Solution of the file name problem of copy on windows.