• Tatsuo Ishii's avatar
    Call srandom() instead of srand(). · 39def593
    Tatsuo Ishii authored
    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.
    39def593
pgbench.c 34.1 KB