From: | Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> |
---|---|
To: | "Doug McNaught" <doug(at)mcnaught(dot)org> |
Cc: | <pgsql-general(at)postgresql(dot)org>, "Tony Caduto" <tony(dot)caduto(at)amsoftwaredesign(dot)com> |
Subject: | Re: numeric data type? |
Date: | 2006-01-23 13:36:53 |
Message-ID: | 001801c62022$1551d820$52bffea9@zlatkovyfkpgz6 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
OK. Thanks for clarification.
----- Original Message -----
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>
Sent: Sunday, January 22, 2006 2:39 PM
Subject: Re: [GENERAL] numeric data type?
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
---------------------------(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
From | Date | Subject | |
---|---|---|---|
Next Message | Daisuke Maki | 2006-01-23 13:57:13 | ROLLBACK triggers? |
Previous Message | Marcos | 2006-01-23 13:34:48 | Re: What is made a mistake with SP? |