Re: [COMMITTERS] pgsql: Put back ERANGE test in dpow(). - Mailing list pgsql-patches

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Put back ERANGE test in dpow().
Date
Msg-id 25946.1168055537@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Put back ERANGE test in dpow().  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [COMMITTERS] pgsql: Put back ERANGE test in  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
> It ERANGE's only on Inf, not underflow?  I would prefer:
>     else if (errno == ERANGE && !isinf(result))

No objection to that, just don't take out the ERANGE test altogether
again ;-)

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: A patch to pg_regress for Windows port
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] wal_checksum = on (default) | off