Fix portability issue in tests from commit ce773f230.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/hash_func.out | modified | +2 −2 |
| src/test/regress/sql/hash_func.sql | modified | +2 −2 |