Re: SOLARIS 9 ULTRASPARC BUILD

From: Michael Fuhr <mfuhr(at)fuhr(dot)org>
To: andrea(dot)martano(at)lighthousetc(dot)net
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: SOLARIS 9 ULTRASPARC BUILD
Date: 2004-08-10 19:07:37
Message-ID: 20040810190737.GA58690@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Aug 10, 2004 at 12:17:47PM +0200, andrea(dot)martano(at)lighthousetc(dot)net wrote:
>
> attached are the regression.out and regression.diffs files from make check on a
> Ultra 2 dual 300MHz CPU running Solaris 9 OS.
>
> Looks like no errorbut the expected due to difference in fp results.

[snip]

> SELECT 'infinity'::float4;
> ! ERROR: invalid input syntax for type real: "infinity"

Perhaps PostgreSQL doesn't handle a longstanding misbehavior of
strtod() on Solaris: when passed "Infinity" or its equivalent,
strtod() sets endptr to point one character beyond the terminating
null character instead of to the null character itself. I asked
about this today in comp.unix.solaris and was told that it's a bug
that will be fixed in Solaris 10. Here's a similar report from
over nine years ago:

http://groups.google.com/groups?&threadm=3oeojn%24jhk%40agate.berkeley.edu

The thread I started hasn't showed up at groups.google.com yet, but
I think this link will eventually point to it:

http://groups.google.com/groups?&threadm=4118e611%241_3%40omega.dimensional.com

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Verbus M. Counts 2004-08-10 19:14:53 regression test failure on 8.0.0beta1
Previous Message Sean Grimes 2004-08-10 19:02:08 PostgreSQL 8.0 Beta and Windows XP