Skip site navigation (1) Skip section navigation (2)

pgsql: Backport patch.

From: ishii(at)postgresql(dot)org (Tatsuo Ishii)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Backport patch.
Date: 2007-01-10 01:20:10
Message-ID: 20070110012010.4C02E9FB1DE@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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)

pgsql-committers by date

Next:From: Tatsuo IshiiDate: 2007-01-10 01:44:30
Subject: pgsql: Back port patch.
Previous:From: Tatsuo IshiiDate: 2007-01-10 01:18:40
Subject: pgsql: Update copyright year

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group