]> 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)
commit9089f1543ef50414e1cecf89bc34eeb3ab1cb968
treebf7535bb23d2ebe104bf46969140a74c2b3fa55f
parentbe2beadaff1ad87792efa58273698898d84afd4e
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