From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix portability issue in tests from commit ce773f230.
Date: Fri, 03 Sep 2021 14:01:20 +0000
Message-ID: <E1mM9ku-0006iw-QB@gemulon.postgresql.org> (raw)
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_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/2836d57e44c67cc30453c83a33fbcf745f5d87ef
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix portability issue in tests from commit ce773f230.
In-Reply-To: <E1mM9ku-0006iw-QB@gemulon.postgresql.org>
References: <E1mM9ku-0006iw-QB@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox