Log Message:
-----------
Backport 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_2_STABLE

Modified Files:
--------------
    pgsql/contrib/pgbench:
        pgbench.c (r1.58 -> r1.58.2.1)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c.diff?r1=1.58&r2=1.58.2.1)

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to