Re: BUG #12589: Poor randomness from random() with some seeds; poor resolution
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #12589: Poor randomness from random() with some seeds; poor resolution |
| Дата | |
| Msg-id | 10225.1421722783@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #12589: Poor randomness from random() with some seeds; poor resolution (Pedro Gimeno <pgsql-004@personal.formauri.es>) |
| Ответы |
Re: BUG #12589: Poor randomness from random() with some seeds;
poor resolution
|
| Список | pgsql-bugs |
Pedro Gimeno <pgsql-004@personal.formauri.es> writes:
> Tom Lane wrote, On 2015-01-19 16:22:
>> This is not a bug; it's a feature request, and a rather poorly
>> grounded one at that.
> It's a purportedly random sequence that turns out not to be random, with
> not even a caveat in the manual. That's a bug.
It is absolutely arguable that this is a glibc bug, so I encourage you
to submit a bug report to them and see what happens. However, Postgres'
random() function is clearly documented to be just a thin layer over the
platform's random() function:
The characteristics of the values returned by random() depend on
the system implementation.
That seems to me to be a sufficient "caveat".
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера