From: | Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: setseed() doc |
Date: | 2006-09-04 19:05:55 |
Message-ID: | 44FC7913.1090705@zigo.dhs.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2006-09-04 19:08:53 | Re: [PATCHES] Contrib module to examine client |
Previous Message | Tom Lane | 2006-09-04 18:53:02 | Re: setseed() doc |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2006-09-04 19:08:53 | Re: [PATCHES] Contrib module to examine client |
Previous Message | Tom Lane | 2006-09-04 18:53:02 | Re: setseed() doc |