pgbench small bug fix

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: pgbench small bug fix
Date: 2016-01-27 19:31:13
Message-ID: alpine.DEB.2.10.1601271957280.12620@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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 beyond the 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.


Attachment Content-Type Size
pgbench-duration-under-rate-1.patch text/x-diff 1023 bytes


Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-01-27 19:33:05 Re: [Proposal] Table partition + join pushdown
Previous Message Igal @ 2016-01-27 19:06:24 Re: Implementing a new Scripting Language