Re: [PATCHES] setseed() doc - Mailing list pgsql-hackers

From Dennis Bjorklund
Subject Re: [PATCHES] setseed() doc
Date
Msg-id 44FC7913.1090705@zigo.dhs.org
Whole thread Raw
Responses Re: [PATCHES] setseed() doc  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: [PATCHES] Contrib module to examine client
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Contrib module to examine client