I just checked the changelogs and Debian has integrated lots of upstream
patches into glibc-2.0.6. So maybe this wasn't fixed before 2.0.6. I'm
currently running 2.0.7pre1 and that one is fine.

Michael

--
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

> -----Original Message-----
> From:	The Hermit Hacker [SMTP:scrappy@hub.org]
> Sent:	Monday, February 16, 1998 5:48 PM
> To:	Frederick W. Reimer
> Cc:	Meskes, Michael; hackers@postgreSQL.org
> Subject:	RE: [HACKERS] Re: [PORTS] v6.3 release ToDo list and
> supported p
> 
> On Mon, 16 Feb 1998, Frederick W. Reimer wrote:
> 
> > Could some of the other problems be due to gcc-2.8.0, which I'm not 
> 
> 	I'm using v2.8.0 on the Solaris Sparc tests I do here...but
> nothing else yet...
> 

Tue, 17 Feb 1998 15:21:48 +0100
"Meskes, Michael" <meskes@topsystem.de>
RE: [HACKERS] Re: [PORTS] v6.3 release ToDo list and supported p
> I just checked the changelogs and Debian has integrated lots of upstream
> patches into glibc-2.0.6. So maybe this wasn't fixed before 2.0.6. I'm
> currently running 2.0.7pre1 and that one is fine.

Andrew, could you add this to the Linux FAQ? The problem statement is:

Q:
Why do I get funny rounding results in some date/time arithmetic, such as
  select '4 hours'::timespan;
returning '3 hours 59 minutes 60 seconds'?

A:
You are running the new glibc2 libraries and have a version earlier than
2.0.7. It is a math rounding problem in the library. Upgrade your library.

And, it seems to me that we should avoid those platform-specific patches
which were discussed to try getting this to work with the buggy versions of
these libraries...

                                                   - Tom


Tue, 17 Feb 1998 15:29:11 +0000
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Re: [HACKERS] Re: [PORTS] v6.3 release ToDo list and supported p