pgsql: Back port patch.

From: ishii(at)postgresql(dot)org (Tatsuo Ishii)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back port patch.
Date: 2007-01-13 03:17:34
Message-ID: 20070113031734.9C7049FB40E@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_0_STABLE

Modified Files:
--------------
pgsql/contrib/pgbench:
pgbench.c (r1.35 -> r1.35.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c.diff?r1=1.35&r2=1.35.4.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2007-01-13 03:24:55 pgsql: Back port patch.
Previous Message Tom Lane 2007-01-12 23:35:04 pgsql: Fix handling of CC (century) format spec in to_date/to_char.