diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-10 01:23:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-10 01:23:04 +0000 |
commit | 9537739f7fcd3bafa2471b199297ec7ad7c935e7 (patch) | |
tree | 4282364b9527cdbb56bd16d68e21696ae71615da /src/backend/tcop/postgres.c | |
parent | d9384a4b7334ba755db88160fb96cd33725bd6d3 (diff) | |
download | postgresql-9537739f7fcd3bafa2471b199297ec7ad7c935e7.tar.gz postgresql-9537739f7fcd3bafa2471b199297ec7ad7c935e7.zip |
Fix pgbench's getrand() function so that min and max have approximately
the same chance of being selected as do numbers between them. Problem
noted by Greg Stark; fix by Alexey Klyukin.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions