Insert a hack into get_float8_nan (both core and ecpg copies) to deal with
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Feb 2010 21:53:21 +0000 (21:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Feb 2010 21:53:21 +0000 (21:53 +0000)
commit4d17a2146ca7f48bca1da4c73a745fb09ec43ed3
treecea3f7cd728afe3be857f4c98cbe0f8040fb936b
parentbf379837dcd7f0f080d61955ed630b023a3b392d
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
src/backend/utils/adt/float.c
src/interfaces/ecpg/ecpglib/data.c
src/test/regress/expected/float4-exp-three-digits.out
src/test/regress/expected/float4.out
src/test/regress/expected/float8-exp-three-digits-win32.out
src/test/regress/expected/float8-small-is-zero.out
src/test/regress/expected/float8-small-is-zero_1.out
src/test/regress/expected/float8.out
src/test/regress/sql/float4.sql
src/test/regress/sql/float8.sql