Re: [PATCHES] setseed() doc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] setseed() doc
Дата
Msg-id 10625.1157395982@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [PATCHES] setseed() doc  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Dennis Bjorklund <db@zigo.dhs.org> writes:
>         <entry><literal><function>setseed</function>(<type>dp</type>)</literal></entry>
>         <entry><type>int</type></entry>
> -       <entry>set seed for subsequent <literal>random()</literal> calls</entry>
> +       <entry>set seed for subsequent <literal>random()</literal> calls (value between -1.0 and 1.0)</entry>

Looking at the code, it would appear that the intended range is 0 to 1.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Contrib module to examine client
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] setseed() doc