| From: | ishii(at)postgresql(dot)org (Tatsuo Ishii) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Back port patch. |
| Date: | 2007-01-10 01:44:30 |
| Message-ID: | 20070110014430.F14439FB204@postgresql.org |
| Views: | Whole Thread | Raw Message | 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_1_STABLE
Modified Files:
--------------
pgsql/contrib/pgbench:
pgbench.c (r1.45.2.4 -> r1.45.2.5)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c.diff?r1=1.45.2.4&r2=1.45.2.5)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2007-01-10 01:57:15 | pgsql: In SGML Makefile, set proper targets for recursive calls. |
| Previous Message | Tatsuo Ishii | 2007-01-10 01:20:10 | pgsql: Backport patch. |