Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?)

Abhijit Menon-Sen <ams@toroid.org>

From: Abhijit Menon-Sen <ams@toroid.org>
To: Marti Raudsepp <marti@juffo.org>
Cc: pgsql-hackers@postgresql.org, Jeroen Vermeulen <jtv@xs4all.nl>
Date: 2012-01-26T15:57:02Z
Lists: pgsql-hackers
At 2011-12-21 18:24:17 +0200, marti@juffo.org wrote:
>
> > I think the least invasive fix, as proposed by Jeroen, is to fail only
> > when ERANGE is set *and* the return value is 0.0 or +/-HUGE_VAL.
> > Reading relevant specifications, this seems to be a fairly safe
> > assumption. That's what the attached patch does.
> 
> Oops, now attached the patch too.

Approach seems sensible, patch applies, builds, and passes tests.
Marking ready for committer and crossing fingers about buildfarm
failures…

-- ams