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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08b96a2b5243957acd3f7c3105af8b5b2d0da3ef

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(-)