pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Test conversion of NaN between float4 and float8.
Date: Fri, 20 Apr 2018 23:55:30 +0000
Message-ID: <E1f9fsI-0004Dm-4X@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1f9fsI-0004Dm-4X@gemulon.postgresql.org>
Permalink:  ../E1f9fsI-0004Dm-4X@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f9fsI-0004Dm-4X@gemulon.postgresql.org

 · 

reply

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: Test conversion of NaN between float4 and float8.
  In-Reply-To: <E1f9fsI-0004Dm-4X@gemulon.postgresql.org>
  References: <E1f9fsI-0004Dm-4X@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