Re: failed test float8 on mingw - Mailing list pgsql-hackers

From Greg Stark
Subject Re: failed test float8 on mingw
Date
Msg-id CC8E7DAD-5146-442B-A2E3-8D4B98C0934E@enterprisedb.com
Whole thread Raw
In response to Re: failed test float8 on mingw  (Magnus Hagander <magnus@hagander.net>)
Responses Re: failed test float8 on mingw
List pgsql-hackers
At a guess it's related to the float8-is-pass-by-value patch.

greg

On 11 Nov 2008, at 06:17 PM, Magnus Hagander <magnus@hagander.net>
wrote:

> Do earlier versions work if built on this machine? Like 8.3-latest?
> My guess is that it's something in mingw or the environment rather
> than pg, but let's confirm that before trying to track down what..
>
> /Magnus
>
> On 11 nov 2008, at 06.56, "Jaime Casanova" <jcasanov@systemguards.com.ec
> > wrote:
>
>> Hi,
>>
>> Trying to review some patches on windows... mingw: 5.1.4; msys:
>> 1.0.10; gcc 3.4.5
>> This is not current head but this morning snapshot tarball... but i
>> saw this same error with yesterday tarball...
>>
>> I get this failure on regression tests:
>>
>> expected output:
>>
>> SELECT '10e-400'::float8;
>> ! ERROR:  "10e-400" is out of range for type double precision
>> ! LINE 1: SELECT '10e-400'::float8;
>> !                ^
>> SELECT '-10e-400'::float8;
>> ! ERROR:  "-10e-400" is out of range for type double precision
>> ! LINE 1: SELECT '-10e-400'::float8;
>> !
>>
>> actual result output:
>>
>> SELECT '10e-400'::float8;
>> !  float8
>> ! --------
>> !       0
>> ! (1 row)
>> !
>> SELECT '-10e-400'::float8;
>> !  float8
>> ! --------
>> !       0
>> ! (1 row)
>>
>>
>> --
>> Atentamente,
>> Jaime Casanova
>> Soporte y capacitación de PostgreSQL
>> Asesoría y desarrollo de sistemas
>> Guayaquil - Ecuador
>> Cel. +59387171157
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: RAM-only temporary tables
Next
From: Bruce Momjian
Date:
Subject: Re: SQL5 budget