Re: ERROR: function round(double precision, integer) does
| От | Joshua D. Drake |
|---|---|
| Тема | Re: ERROR: function round(double precision, integer) does |
| Дата | |
| Msg-id | 4047D712.5020200@commandprompt.com обсуждение исходный текст |
| Ответ на | ERROR: function round(double precision, integer) does not exist - WTF? ("Glen Parker" <glenebob@nwlink.com>) |
| Ответы |
Re: ERROR: function round(double precision, integer) does
|
| Список | pgsql-general |
> oms=# select round(1.25::decimal, 2); > round > ------- > 1.25 > (1 row) > > BUT............. > > DB=# select round(1.25::float, 2); select round(1.25::numeric, 2); ? Sincerely, Joshua D. Drake > 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 > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match
В списке pgsql-general по дате отправления: