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:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/contrib/pgbench:
        pgbench.c (r1.27.2.2 -> r1.27.2.3)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c.diff?r1=1.27.2.2&r2=1.27.2.3)

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to