Thread: setseed() doc
View Single Post

   
  #3 (permalink)  
Old 04-18-2008, 08:58 AM
Tom Lane
 
Posts: n/a
Default Re: setseed() doc

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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote