pgbench: When -T is used, don't wait for transactions beyond end of run.
authorRobert Haas <rhaas@postgresql.org>
Wed, 9 Mar 2016 18:09:12 +0000 (13:09 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 9 Mar 2016 18:11:05 +0000 (13:11 -0500)
commitaccf7616ff2854640523d5e42ffa5420cc5a3b51
treee73382d17c6db7c4a9ec8351ba1f89869cf97a68
parent188f359d39ed65b5f3ddc1f397140fb9d153e61a
pgbench: When -T is used, don't wait for transactions beyond end of run.

At low rates, this can lead to pgbench taking significantly longer to
terminate than the user might expect.  Repair.

Fabien Coelho, reviewed by Aleksander Alekseev, Álvaro Herrera, and me.
src/bin/pgbench/pgbench.c