Improper addition of NaN/Infinity recognition to float8in()

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 157349e3afdb5282cc177e53f4c435ab343b113f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-01-24T00:12:59Z
Releases: 7.1.1
Improper addition of NaN/Infinity recognition to float8in()
was causing it not to detect out-of-range float values, as evidenced by
failure of float8 regression test.  I corrected that logic and also
modified expected float8 results to account for new error message
generated for out-of-range inputs.

Files

PathChange+/−
src/backend/utils/adt/float.c modified +16 −4
src/test/regress/expected/float8.out modified +4 −4