pgbench: Correct for bias in --rate schedule generation.
Noah Misch <noah@leadboat.com>
pgbench: Correct for bias in --rate schedule generation. Previous code gave a mean delay 0.44% below target. This change also has the effect of increasing the maximum possible delay. Fabien COELHO
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +7 −3 |