Andrew Dunstan <and...@dunslane.net> writes:
> It appears on Googling a bit that the erand48() is buggy in that it 
> requires the seed to have been initialized with srand48() or it will 
> constantly return 0.0.

Huh, and that sends us into an infinite loop?  I'll take a look at that.
Even though it's surely nonrandom, it doesn't seem like pathological
behavior of the RNG should wedge us completely.

> So I think just forcing use of ours is the safe way to go.

Agreed, but I'm curious ...

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to