Re: failed test float8 on mingw

From: Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: failed test float8 on mingw
Date: 2008-11-11 20:37:42
Message-ID: CC8E7DAD-5146-442B-A2E3-8D4B98C0934E@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hagander(dot)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(at)systemguards(dot)com(dot)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(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-11-11 20:38:47 Re: RAM-only temporary tables
Previous Message Tom Lane 2008-11-11 20:20:56 Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)