Refactor code to print pgbench progress reports.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 9f75e3772350fb66f20a3d7f33bc94f30300d7eb
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2019-03-25T16:07:29Z
Releases: 12.0
Refactor code to print pgbench progress reports.

threadRun() function is very long and deeply-nested. Extract the code to
print progress reports to a separate function, to make it slightly easier
to read.

Author: Fabien Coelho
Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1903101225270.17271%40lancre

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +94 −83

Discussion