Re: NaN support in NUMERIC data type - Mailing list pgsql-hackers

From Tom Lane
Subject Re: NaN support in NUMERIC data type
Date
Msg-id 26047.1239236212@sss.pgh.pa.us
Whole thread Raw
In response to Re: NaN support in NUMERIC data type  (Sam Mason <sam@samason.me.uk>)
Responses Re: NaN support in NUMERIC data type  (Sam Mason <sam@samason.me.uk>)
List 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 by date:

Previous
From: Sam Mason
Date:
Subject: Re: NaN support in NUMERIC data type
Next
From: Itagaki Takahiro
Date:
Subject: Re: Solution of the file name problem of copy on windows.