Improper addition of NaN/Infinity recognition to float8in()
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/float.c | modified | +16 −4 |
| src/test/regress/expected/float8.out | modified | +4 −4 |