Re: [PATCHES] setseed() doc

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: [PATCHES] setseed() doc
Дата
Msg-id 44FC7913.1090705@zigo.dhs.org
обсуждение исходный текст
Ответы Re: [PATCHES] setseed() doc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane skrev:

>>         <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.

Ok.

What about the return value? The doc didn't say anything about it.

/Dennis

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

Предыдущее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: [PATCHES] Contrib module to examine client
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Contrib module to examine client