Re: failed test float8 on mingw

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: failed test float8 on mingw
Date: 2008-11-11 17:17:08
Message-ID: C7078CF7-2906-4E09-AF40-1600C28FB0B1@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tim Keitt 2008-11-11 17:33:41 Question about SPI_prepare
Previous Message Richard Huxton 2008-11-11 16:34:55 Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)