float and numeric in 7.3

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема float and numeric in 7.3
Дата
Msg-id 3E3EC4AD.8080205@klaster.net
обсуждение исходный текст
Ответы Re: float and numeric in 7.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi

I've just upgraded Postgresql 7.2 -> 7.3

Some of my views use function "round" with datatype "float".
They don't work after upgrading:

ERROR:  Function round(double precision, integer) does not exist

What happened? 
7.3 can't automaticaly cast float into numeric? 
Or maybe 7.2 had both functions round(numeric, integer) andround(double precision, integer)?

Should I change float into numeric in my tables if possible?

Regards,
Tomasz Myrta



В списке pgsql-sql по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: cannot EXPLAIN query...
Следующее
От: "Les Hazlewood"
Дата:
Сообщение: SQL99/SQL92 Grammar