Re: setseed accepts bad seeds

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: setseed accepts bad seeds
Дата
Msg-id Pine.BSO.4.64.0704111449410.20552@leary.csoft.net
обсуждение исходный текст
Ответ на Re: setseed accepts bad seeds  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: setseed accepts bad seeds
Re: setseed accepts bad seeds
Список pgsql-bugs
On Wed, 11 Apr 2007, Tom Lane wrote:

> It's not really possible to use it "incorrectly", AFAICS.  Any value you
> might pass to it will result in a specific new seed value.  Nowhere is
> there any guarantee of what the mapping is, and it's obviously
> impossible to guarantee that the mapping is one-to-one, so any user
> assumptions about what a specific seed value might "mean" seem broken
> regardless.
>

Then please consider this patch which checks the range and maps the
provided value to the entire seed space.

Kris Jurka

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: setseed accepts bad seeds
Следующее
От: John R Pierce
Дата:
Сообщение: Re: RHEL4 RPM packages