Thread: pgsql: Fix portability issue in tests from commit ce773f230.

pgsql: Fix portability issue in tests from commit ce773f230.

From
Tom Lane
Date:
Fix portability issue in tests from commit ce773f230.

Modern POSIX seems to require strtod() to accept "-NaN", but there's
nothing about NaN in SUSv2, and some of our oldest buildfarm members
don't like it.  Let's try writing it as -'NaN' instead; that seems
to produce the same result, at least on Intel hardware.

Per buildfarm.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2836d57e44c67cc30453c83a33fbcf745f5d87ef

Modified Files
--------------
src/test/regress/expected/hash_func.out | 4 ++--
src/test/regress/sql/hash_func.sql      | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)