]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix portability issue in tests from commit ce773f230.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Sep 2021 14:01:02 +0000 (10:01 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Sep 2021 14:01:02 +0000 (10:01 -0400)
commit2836d57e44c67cc30453c83a33fbcf745f5d87ef
tree85b2f81711ac67e7522c90b31207fe4d0df3c34d
parentad66373ead6db1b54cfb0af5cda6c24e4cfcaa6b
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.
src/test/regress/expected/hash_func.out
src/test/regress/sql/hash_func.sql