From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor code to print pgbench progress reports.
Date: Mon, 25 Mar 2019 16:09:28 +0000
Message-ID: <E1h8SAC-0001oV-Uw@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9f75e3772350fb66f20a3d7f33bc94f30300d7eb
Modified Files
--------------
src/bin/pgbench/pgbench.c | 177 ++++++++++++++++++++++++----------------------
1 file changed, 94 insertions(+), 83 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi
Subject: Re: pgsql: Refactor code to print pgbench progress reports.
In-Reply-To: <E1h8SAC-0001oV-Uw@gemulon.postgresql.org>
References: <E1h8SAC-0001oV-Uw@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox