]> granicus.if.org Git - postgresql/commit
Refactor code to print pgbench progress reports.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 25 Mar 2019 16:07:29 +0000 (18:07 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 25 Mar 2019 16:07:29 +0000 (18:07 +0200)
commit9f75e3772350fb66f20a3d7f33bc94f30300d7eb
tree17d7725f54e2094d5ea680c06e00423671a5b8eb
parent5857be907d5178673ce077ba71562f3c4297ee32
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
src/bin/pgbench/pgbench.c