| От | Neil Conway |
|---|---|
| Тема | Re: floor function in 7.3b2 |
| Дата | |
| Msg-id | 87fzvmbtqd.fsf@mailbox.samurai.com обсуждение исходный текст |
| Ответ на | Re: floor function in 7.3b2 (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
numeric hierarchy again (was Re: floor function in 7.3b2)
|
| Список | pgsql-hackers |
Tom Lane <tgl@sss.pgh.pa.us> writes: > "Mario Weilguni" <mario.weilguni@icomedias.com> writes: > > Why is floor not working anymore? > > Mph. Seems we have floor(numeric) but not floor(float8), and the latter > is what you need here. Sorry, I missed much of the casting discussion -- but is there a reason why we can't cast from float8 -> numeric implicitely? IIRC the idea was to allow implicit casts from lower precision types to higher precision ones. Cheers, Neil -- Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера