aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2007-01-13 03:24:55 +0000
committerTatsuo Ishii <ishii@postgresql.org>2007-01-13 03:24:55 +0000
commitfe7b0fc35da752fead8c389a2a6cbb59f2aab92a (patch)
treedf0f3af2cc803a9ea127ea292d604f88b4008a26 /src
parent2ece6917e8a434feeff03369ae2b4376c0212f49 (diff)
downloadpostgresql-fe7b0fc35da752fead8c389a2a6cbb59f2aab92a.tar.gz
postgresql-fe7b0fc35da752fead8c389a2a6cbb59f2aab92a.zip
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions