pgbench: refactor handling of stats tracking
This doesn't add any functionality but just shuffles things around so
that it can be reused and improved later.
Author: Fabien Coelho
Reviewed-by: Michael Paquier, Álvaro Herrera
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/b60376649600268b75e1e8be86a6a6fe7fb9b3c3
Modified Files
--------------
src/bin/pgbench/pgbench.c | 660 ++++++++++++++++++++--------------------------
1 file changed, 279 insertions(+), 381 deletions(-)