Re: Numeric performances

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Vincenzo Romano <vincenzo(dot)romano(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Numeric performances
Date: 2007-06-01 07:36:04
Message-ID: 20070601073604.GA27968@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 31, 2007 at 09:25:27PM +0200, Vincenzo Romano wrote:
> On Thursday 31 May 2007 19:42:20 Alvaro Herrera wrote:
> > It is. But why do you care? You either have the correctness that
> > NUMERIC gives, or you don't.
>
> Because FLOAT8 can be precise enough for some application and not
> enough for other ones.

If you can use float, use it. There's hardware support for that,
whereas there's none for numeric...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-06-01 07:56:49 Re: user restriction
Previous Message Dudás József 2007-06-01 07:35:56 Re: invalid memory alloc after insert with c trigger function