pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mats Erik Andersson <bsd@gisladisker.se>
To: pgsql-bugs@postgresql.org
Subject: Solaris fails test with float8.
Date: Fri, 28 Nov 2014 16:01:04 +0100
Message-ID: <20141128150104.GA28806@mail.gisladisker.se> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

(Please send me a carbon copy when responding.)

A Solaris system like my OpenIndiana oi_151a9 is failing
a single test case, namely float8, when testing either
of PostgreSQL 9.4beta2, 9.4beta3, and 9.4rc1. I do not
know how properly to interpret the output in expressed
in "regression.diffs", so tell whether I could do some
further modification to produce a better diagnosis.

Best regards,
  Mats Erik Andersson


inline patch 1: ..../postgresql-9.4rc1/src/test/regress/results/float8.out (+9/-1 lines) download inline-1.patch*** ..../postgresql-9.4rc1/src/test/regress/expected/float8.out 2014-11-17 21:54:40.000000000 +0100 --- ..../postgresql-9.4rc1/src/test/regress/results/float8.out 2014-11-27 17:55:17.639864887 +0100 *************** *** 382,388 **** SET f1 = FLOAT8_TBL.f1 * '-1' WHERE FLOAT8_TBL.f1 > '0.0'; SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f; ! ERROR: value out of range: overflow SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f; ERROR: value out of range: overflow SELECT 0 ^ 0 + 0 ^ 1 + 0 ^ 0.0 + 0 ^ 0.5; --- 382,396 ---- SET f1 = FLOAT8_TBL.f1 * '-1' WHERE FLOAT8_TBL.f1 > '0.0'; SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f; ! bad | ?column? ! -----+------------------ ! | 0 ! | -3.484e+201 ! | -1.0043e+203 ! | -Infinity ! | -1.2345678901234 ! (5 rows) ! SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f; ERROR: value out of range: overflow SELECT 0 ^ 0 + 0 ^ 1 + 0 ^ 0.0 + 0 ^ 0.5;
====================================================================== -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

view thread (3+ messages)  latest in thread

Message-ID: <20141128150104.GA28806@mail.gisladisker.se>
Permalink:  ../20141128150104.GA28806@mail.gisladisker.se/
Also on:    postgresql.org/message-id/20141128150104.GA28806@mail.gisladisker.se

 ·  · 

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-bugs@postgresql.org
  Cc: bsd@gisladisker.se
  Subject: Re: Solaris fails test with float8.
  In-Reply-To: <20141128150104.GA28806@mail.gisladisker.se>
  References: <20141128150104.GA28806@mail.gisladisker.se>

* 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