Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?) - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?)
Date
Msg-id 20120126155702.GE30769@toroid.org
Whole thread Raw
In response to Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?)  (Marti Raudsepp <marti@juffo.org>)
List 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


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Pause at end of recovery
Next
From: Tom Lane
Date:
Subject: Re: WIP patch for parameterized inner paths