pgsql: Fix portability issue in tests from commit ce773f230. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix portability issue in tests from commit ce773f230.
Date
Msg-id E1mM9ku-0006iw-QB@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Make pkg-config files cross-compile friendly
Next
From: John Naylor
Date:
Subject: pgsql: Set the volatility of the timestamptz version of date_bin() back