Re: NaN support in NUMERIC data type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: NaN support in NUMERIC data type
Date: 2009-04-09 00:16:52
Message-ID: 26047.1239236212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sam Mason <sam(at)samason(dot)me(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2009-04-09 00:22:58 Re: Solution of the file name problem of copy on windows.
Previous Message Sam Mason 2009-04-09 00:00:53 Re: NaN support in NUMERIC data type