]> 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)
commit08b96a2b5243957acd3f7c3105af8b5b2d0da3ef
tree900b94fba23e4b564de6c6b2f5b32a23781c6789
parent6b54f12332a184bfd03524c012795678ddc992f4
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