Re: Still wondering about random numbers... - Mailing list pgsql-general

From Tom Lane
Subject Re: Still wondering about random numbers...
Date
Msg-id 7823.997200056@sss.pgh.pa.us
Whole thread Raw
In response to Re: Still wondering about random numbers...  ("Joe Conway" <joseph.conway@home.com>)
List pgsql-general
"Joe Conway" <joseph.conway@home.com> writes:
> Looks like plain old C library random numbers. If you want to use
> /dev/random or /dev/urandom, best bet would be to write your own C function.
> You should also check through the contrib stuff -- I don't recall seeing RNG
> functions in there,

I don't see any in there either, but this seems like a fine candidate for
a contrib item.  I doubt we'd accept it into the mainstream for lack of
portability, but as a contrib item, why not?

            regards, tom lane

pgsql-general by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: Transactions and timestamps
Next
From: Robert Berger
Date:
Subject: Re: int8 indices?