Re: [PATCHES] [BUGS] BUG #2846: inconsistent and - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] [BUGS] BUG #2846: inconsistent and
Date
Msg-id 200612291512.kBTFCVY02214@momjian.us
Whole thread Raw
In response to Re: [PATCHES] [BUGS] BUG #2846: inconsistent and  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] [BUGS] BUG #2846: inconsistent and
Re: [PATCHES] [BUGS] BUG #2846: inconsistent and
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> This is *not* going in the right direction :-(
>
> > Well, then show me what direction you think is better.
>
> Fewer restrictions, not more.  The thrust of what I've been saying
> (and I think Roman too) is to trust in the hardware float-arithmetic
> implementation to be right.  Every time you add an additional "error
> check" you are going in the wrong direction.

OK, are you saying that there is a signal we are ignoring for
overflow/underflow, or that we should just silently overflow/underflow
and not throw an error?

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: TODO: GNU TLS
Next
From: Bruce Momjian
Date:
Subject: Re: WITH support