At 2011-12-21 18:24:17 +0200, ma...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers