aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSort.c
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2007-01-10 01:20:10 +0000
committerTatsuo Ishii <ishii@postgresql.org>2007-01-10 01:20:10 +0000
commit9c505e484cbb06bb7d688c86e3d0c54d49414f27 (patch)
treefd0fb7dcc2ab6beb3879d596eca93998cb7c75b9 /src/backend/executor/nodeSort.c
parent757dfd6327b6abeb592aef8c689d59faf6b3f82e (diff)
downloadpostgresql-9c505e484cbb06bb7d688c86e3d0c54d49414f27.tar.gz
postgresql-9c505e484cbb06bb7d688c86e3d0c54d49414f27.zip
Backport 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/nodeSort.c')
0 files changed, 0 insertions, 0 deletions