Greg Stark <gsst...@mit.edu> writes: > The only thing that jumps out at me from the code itself is the use of > rand() and srand() which seems unacceptable.
Yeah, (1) rand isn't a good random number generator and (2) fooling with the main random number sequence is user-unfriendly. If you need a private source of random numbers you might base it on erand48 like geqo has done. 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