So how good is the random() function in pgsql? How many iterations
through the PRNG before the PRNG loops?

Does it depend on the underlying O/S? Which, in our case, is CentOS 5,
64bit.

(I ask, because back in my Visual Basic days, I ran into an issue where
the built-in PRNG would loop after 30 bits worth had been used. Which
caused issues in a situation where we really need a whole lot more
length in our PRNG.)

Search Discussions

  • Tom Lane at Dec 30, 2008 at 3:44 pm

    Thomas Harold writes:
    So how good is the random() function in pgsql?
    It's whatever the underlying C library supplies.

    regards, tom lane

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-novice @
categoriespostgresql
postedDec 30, '08 at 12:25p
activeDec 30, '08 at 3:44p
posts2
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Thomas Harold: 1 post Tom Lane: 1 post

People

Translate

site design / logo © 2021 Grokbase