While testing for something else I encountered two small bugs under very
low rate (--rate=0.1). The attached patches fixes these.
- when a duration (-T) is specified, ensure that pgbench ends at that time (i.e. do not wait for a transaction
beyondthe end of the run).
- when there is a progress (-P) report, ensure that all progress reports are shown even if no more transactions are
schedule.
--
Fabien.