From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Clift <aa2@bigpond.net.au>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: HELP: Scarey pl/pgsql problem
Date: Mon, 05 Feb 2001 14:35:53 -0500
Message-ID: <17786.981401753@sss.pgh.pa.us> (raw)
In-Reply-To: <3A78CF0F.AD0F7A6F@bigpond.net.au>
References: <200101131404.JAA01424@jupiter.jw.home>
<3A78CF0F.AD0F7A6F@bigpond.net.au>
Justin Clift <aa2@bigpond.net.au> writes:
> I'm having trouble with what MAY BE a bug in PL/PGSQL for PG 7.0.3 on
> Linux (Mandrake Linux 7.2).
> [ bogus roundoff behavior in date/time display ]
This is a known silliness in the Mandrake distribution: their default
compiler flags include both -O3 and -ffast-math, a combination that the
gcc people will tell you does not work. The main result we've heard
about is bogus roundoff behavior.
I believe our recent Mandrake RPMs have been built with compiler flags
that actually work, but if you got the files from someplace else or
compiled them yourself then you might be vulnerable to this error.
Check the mail list archives for more info, eg
http://www.postgresql.org/mhonarc/pgsql-hackers/2000-08/msg00193.html
regards, tom lane
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: tgl@sss.pgh.pa.us, aa2@bigpond.net.au
Subject: Re: HELP: Scarey pl/pgsql problem
In-Reply-To: <17786.981401753@sss.pgh.pa.us>
References: <200101131404.JAA01424@jupiter.jw.home> <3A78CF0F.AD0F7A6F@bigpond.net.au> <17786.981401753@sss.pgh.pa.us>
* 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