Re: numeric data type?

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: <pgsql-general(at)postgresql(dot)org>, "Tony Caduto" <tony(dot)caduto(at)amsoftwaredesign(dot)com>
Subject: Re: numeric data type?
Date: 2006-01-22 13:39:25
Message-ID: 87u0bwl6uq.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> writes:

> So, it seems that numeric without parameters (precision, scale) behave
> similar to float, but is much exact. Am I right or I missunderstood?

Right. It's also considerably slower, since floating point
calculations can use the hardware. Unless you're doing a huge number
of computations this may not be an issue.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message frank church 2006-01-22 13:49:38 Memory Allocation error using pg_dump on 7.4
Previous Message frank church 2006-01-22 12:53:57 Working out diskspace taken by database and tables 7.4