Insert a hack into get_float8_nan (both core and ecpg copies) to deal with
Tom Lane <tgl@sss.pgh.pa.us>
Insert a hack into get_float8_nan (both core and ecpg copies) to deal with the fact that NetBSD/mips is currently broken, as per buildfarm member pika. Also add regression tests to ensure that get_float8_nan and get_float4_nan are exercised even on platforms where they are not needed by float8in/float4in. Zoltán Böszörményi and Tom Lane
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/float.c | modified | +3 −2 |
| src/interfaces/ecpg/ecpglib/data.c | modified | +4 −2 |
| src/test/regress/expected/float4-exp-three-digits.out | modified | +6 −0 |
| src/test/regress/expected/float4.out | modified | +6 −0 |
| src/test/regress/expected/float8-exp-three-digits-win32.out | modified | +6 −0 |
| src/test/regress/expected/float8.out | modified | +6 −0 |
| src/test/regress/expected/float8-small-is-zero_1.out | modified | +6 −0 |
| src/test/regress/expected/float8-small-is-zero.out | modified | +6 −0 |
| src/test/regress/sql/float4.sql | modified | +1 −1 |
| src/test/regress/sql/float8.sql | modified | +1 −0 |