Re: What seed does random() use if setseed() is not called first? - Mailing list pgsql-sql

From Tom Lane
Subject Re: What seed does random() use if setseed() is not called first?
Date
Msg-id 1222809.1658613961@sss.pgh.pa.us
Whole thread Raw
In response to Re: What seed does random() use if setseed() is not called first?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Carl Sopchak <carl@sopchak.me> writes:
>     <p>Thank you for the quick reply!  But I wouldn't have bothered you
>       if the documentation stated something to the effect of "While it's
>       platform-dependent, if setseed() is not called, the random number
>       generator is generally seeded by whatever method the operating
>       system provides as a source of randomness, such as /dev/urandom on
>       Linux/Unix, or <???> on Windows."</p>

Hmm, I thought this already was documented, but it looks like not.
I'll see what I can do.

            regards, tom lane



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: What seed does random() use if setseed() is not called first?
Next
From: aditya desai
Date:
Subject: JDBC Driver for postgres 9.6