Thread: setseed() doc
View Single Post

   
  #5 (permalink)  
Old 04-18-2008, 08:58 AM
Bruce Momjian
 
Posts: n/a
Default Re: setseed() doc

Tom Lane wrote:
> 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.


Docs updated.

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


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

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

Reply With Quote