I'm having trouble with the round() function. What I am trying to do works
fine on 7.2.*, but not in 7.3.* or 7.4.*
DB=# select version();
PostgreSQL 7.4.1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.2
20031107 (Red Hat Linux 3.3.2-2)
DB=# select round(1.25::float);
round
-------
1
(1 row)
oms=# select round(1.25::decimal, 2);
round
-------
1.25
(1 row)
BUT.............
DB=# select round(1.25::float, 2);
ERROR: function round(double precision, integer) does not exist
HINT: No function matches the given name and argument types. You may need
to add explicit type casts.
What the heck? This can't be right... Can it?
Thx!
Glen Parker
glenebob@nwlink.com