Re: numeric data type? - Mailing list pgsql-general

From Doug McNaught
Subject Re: numeric data type?
Date
Msg-id 87u0bwl6uq.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to Re: numeric data type?  (Zlatko Matić <zlatko.matic1@sb.t-com.hr>)
Responses Re: numeric data type?  ("John D. Burger" <john@mitre.org>)
List pgsql-general
Zlatko Matić <zlatko.matic1@sb.t-com.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

pgsql-general by date:

Previous
From: frank church
Date:
Subject: Working out diskspace taken by database and tables 7.4
Next
From: frank church
Date:
Subject: Memory Allocation error using pg_dump on 7.4