Re: NaN support in NUMERIC data type

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: NaN support in NUMERIC data type
Date: 2009-04-09 12:59:37
Message-ID: 20090409125937.GP12225@frubble.xen.chris-lamb.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 08, 2009 at 08:16:52PM -0400, Tom Lane wrote:
> 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 ...

I shouldn't have responded last night; didn't realise how little of my
code was left so the semantics I was assuming weren't valid.

--
Sam http://samason.me.uk/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2009-04-09 12:59:43 Strange query plan with redundant aggregate nodes
Previous Message Heikki Linnakangas 2009-04-09 12:47:46 Re: New trigger option of pg_standby