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

From Zlatko Matić
Subject Re: numeric data type?
Date
Msg-id 001801c62022$1551d820$52bffea9@zlatkovyfkpgz6
Whole thread Raw
In response to numeric data type?  (Zlatko Matić <zlatko.matic1@sb.t-com.hr>)
List pgsql-general
OK. Thanks for clarification.

----- Original Message -----
From: "Doug McNaught" <doug@mcnaught.org>
To: "Zlatko Matić" <zlatko.matic1@sb.t-com.hr>
Cc: <pgsql-general@postgresql.org>; "Tony Caduto"
<tony.caduto@amsoftwaredesign.com>
Sent: Sunday, January 22, 2006 2:39 PM
Subject: Re: [GENERAL] numeric data type?


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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match


pgsql-general by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: DBMirror.pl performance change
Next
From: "John D. Burger"
Date:
Subject: Re: numeric data type?