pgbench: Correct for bias in --rate schedule generation.

Noah Misch <noah@leadboat.com>

Commit: c2df45a37cd9e32815fe2786cbb3ef905daaa7d2
Author: Noah Misch <noah@leadboat.com>
Date: 2013-09-26T03:11:34Z
Releases: 9.4.0
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

PathChange+/−
contrib/pgbench/pgbench.c modified +7 −3