From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Wierd results of math -- old bug I hope |
Date: | 2004-10-01 22:02:44 |
Message-ID: | 200410011502.44059.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Folks,
I'm hoping that this is "already fixed" somewhere:
webmergers=# select version();
version
-------------------------------------------------------------------------------------
PostgreSQL 7.4.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.3 (SuSE
Linux)
(1 row)
webmergers=# select 3000::NUMERIC*1024*1024;
?column?
------------
3145728000
(1 row)
webmergers=# select 3000*1024*1024;
?column?
-------------
-1149239296
(1 row)
--
__Aglio Database Solutions_______________
Josh Berkus Consultant
josh(at)agliodbs(dot)com www.agliodbs.com
Ph: 415-752-2500 Fax: 415-752-2387
2166 Hayes Suite 200 San Francisco, CA
From | Date | Subject | |
---|---|---|---|
Next Message | PostgreSQL Bugs List | 2004-10-01 22:28:05 | BUG #1275: Perda de velocidade na consulta com join. |
Previous Message | Andrew Grillet | 2004-10-01 21:48:52 | Bug report |