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-0006im-Od@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_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(-)


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