Re: Horology Test Case Fails with Sun Compiler - Mailing list pgsql-ports

From Tom Lane
Subject Re: Horology Test Case Fails with Sun Compiler
Date
Msg-id 4066.1149811844@sss.pgh.pa.us
Whole thread Raw
In response to Horology Test Case Fails with Sun Compiler  (<Match.Grun@thomson.com>)
List pgsql-ports
<Match.Grun@thomson.com> writes:
> After building Postgres 8.0.3, Solaris 8, Sun compiler v 5.7,
> I get the following diff with the horology test case:

Seems like either interval_reltime() or reltime2tm() (both in
src/backend/utils/adt/nabstime.c) must be screwing up.  I've never seen
a similar report so I think you've got a broken compiler, but feel free
to look for a workaround ...

reltime is a deprecated type anyway so you could just ignore it, but the
$64 question here is whether it is a compiler bug and if so whether it
also hit any places that're more important.  The code in those two
functions is not all that different from code elsewhere in the datetime
support.

BTW, are you using --enable-integer-datetimes?  That changes this code
quite a bit.

            regards, tom lane

pgsql-ports by date:

Previous
From:
Date:
Subject: Horology Test Case Fails with Sun Compiler
Next
From:
Date:
Subject: Re: Horology Test Case Fails with Sun Compiler