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.
Showing
Please register or sign in to comment
the same chance of being selected as do numbers between them. Problem noted by Greg Stark; fix by Alexey Klyukin.