aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/functions.c
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2007-01-13 03:17:34 +0000
committerTatsuo Ishii <ishii@postgresql.org>2007-01-13 03:17:34 +0000
commit8147c13f6fc04f9c929d03cbb5402f1977a07458 (patch)
tree9e3f6951b0d923061b7a4198f42a0cc66f98ae79 /src/backend/executor/functions.c
parenta7542c3bb1d0fc59856c8152735722afb8c9a1c2 (diff)
downloadpostgresql-8147c13f6fc04f9c929d03cbb5402f1977a07458.tar.gz
postgresql-8147c13f6fc04f9c929d03cbb5402f1977a07458.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/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions