| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | Bug #864: MOD(RANDOM(),1.0) don't work in 7.3.1 |
| Дата | |
| Msg-id | 20030105203816.65BC6475B8C@postgresql.org обсуждение исходный текст |
| Ответы |
Re: Bug #864: MOD(RANDOM(),1.0) don't work in 7.3.1
|
| Список | pgsql-bugs |
Sverre H. Huseby (shh@thathost.com) reports a bug with a severity of 3
The lower the number the more severe it is.
Short Description
MOD(RANDOM(),1.0) don't work in 7.3.1
Long Description
I just upgraded from 7.2.3 to 7.3.1. Something has changed, as one of my old queries no longer works:
SELECT MOD(RANDOM(),1.0);
ERROR: Function mod(double precision, numeric) does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
I was able to work around it by casting RANDOM() to NUMERIC.
Sample Code
No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера