From: | Mats Erik Andersson <bsd(at)gisladisker(dot)se> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Solaris fails test with float8. |
Date: | 2014-11-28 15:01:04 |
Message-ID: | 20141128150104.GA28806@mail.gisladisker.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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
*** ..../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;
======================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-11-28 15:35:21 | Re: Solaris fails test with float8. |
Previous Message | Fujii Masao | 2014-11-28 12:31:20 | Re: BUG #12024: autocomplete doesn't work for ALTER CONSTRAINT |