pgsql: Test conversion of NaN between float4 and float8.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Test conversion of NaN between float4 and float8.
Date: 2018-04-20 23:55:30
Message-ID: E1f9fsI-0004Dm-4X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Test conversion of NaN between float4 and float8.

Results from buildfarm member opossum suggest that this doesn't work
quite right on that platform. We've seen issues with NaN support on
MIPS/NetBSD before ... allegedly they fixed this stuff back in 2010,
but maybe only for small values of "fixed".

If, in fact, opossum fails this test then I plan to revert it;
it's mainly for diagnostic purposes rather than something we'd
necessarily keep long-term. I think that the failures in window.sql
could be worked around with some code duplication, but I want to
verify my theory about the cause first.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/55e0e458170c76c1a0074cd550a13ec47e38a3fa

Modified Files
--------------
src/test/regress/expected/float4-exp-three-digits.out | 12 ++++++++++++
src/test/regress/expected/float4.out | 12 ++++++++++++
src/test/regress/sql/float4.sql | 2 ++
3 files changed, 26 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-04-21 14:20:28 pgsql: doc: Restructure authentication methods sections
Previous Message Stephen Frost 2018-04-20 23:05:19 pgsql: Fix a couple minor typos