From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: pgsql-sql <pgsql-sql@fc.emc.com.ph>
Cc: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: 7.0.3 BUG
Date: Mon, 27 Nov 2000 08:16:42 +0000
Message-ID: <3A22186A.8A21A9D5@alumni.caltech.edu> (raw)
References: <fc.000f56720081cd19000f56720081cd19.81cd2f@fc.emc.com.ph>
> >> ERROR: copy: line 3910, Bad timestamp external representation
> >> '2000-01-05 00:00:60.00+08'
> >> Weird because those timestamps were generated by default now().
...
> Is there a work-around to this aside from manually changing the dump file?
> Distribution Version: Linux Mandrake release 7.2 (Odyssey) for
> i586
> It was shipped with Mandrake-Linux 7.2
> >> migrate=# select version();
> >> version
> >> ---------------------------------------------------------------
> >> PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc 2.95.3
...
> We can be sure that the compiler is relatively bug free because it was
> used to recompile the entire Linux distribution...
Ah ha (or rather, ha ha ha)! I'd suggest using the RPMs posted on the
postgresql.org ftp site, which include a sample .rpmrc file which fixes
disasterous bugs in Mandrake's default compiler settings for building
RPMs. Specifically, Mandrake sets the -ffast-math flag, which the gcc
folks warn is not compatible with -On optimizations. When I build RPMs I
kill the fast-math option, and the rounding troubles go away.
The rounding trouble does not show up on other platforms or Linux
distros because no one else ignores the gcc recommendations to this
extent :(
- Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: lockhart@alumni.caltech.edu, pgsql-sql@fc.emc.com.ph, tgl@sss.pgh.pa.us
Subject: Re: 7.0.3 BUG
In-Reply-To: <3A22186A.8A21A9D5@alumni.caltech.edu>
References: <fc.000f56720081cd19000f56720081cd19.81cd2f@fc.emc.com.ph> <3A22186A.8A21A9D5@alumni.caltech.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox