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

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-10 01:44:30
Message-ID: (view raw, whole thread or download thread mbox)
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.


Modified Files:
        pgbench.c (r1.45.2.4 -> r1.45.2.5)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2007-01-10 01:57:15
Subject: pgsql: In SGML Makefile, set proper targets for recursive calls.
Previous:From: Tatsuo IshiiDate: 2007-01-10 01:20:10
Subject: pgsql: Backport patch.

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