setseed accepts bad seeds

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема setseed accepts bad seeds
Дата
Msg-id Pine.BSO.4.64.0704110423170.13329@leary.csoft.net
обсуждение исходный текст
Ответы Re: setseed accepts bad seeds  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Why doesn't setseed complain when given a seed value outside of its
expected range?  The documentation claims that 0 -> 1 should be used,
but shouldn't it actually be -1 -> 1 to get the full range of the seed?
If passed a value outside this range you always get the same value which
isn't going to produce a good random number stream.

Kris Jurka

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: RHEL4 RPM packages
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: RHEL4 RPM packages