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