Log Message:
-----------
Back port patch.

Call srandom() instead of srand().
pgbench calls random() later, so it should have called srandom().
On most platforms except Windows srandom() is actually identical
to srand(), so the bug only bites Windows users.
per bug report from Akio Ishida.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/contrib/pgbench:
        pgbench.c (r1.45.2.4 -> r1.45.2.5)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c.diff?r1=1.45.2.4&r2=1.45.2.5)

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to