From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgbench: doExecuteCommand -> executeMetaCommand
Date: Wed, 27 Mar 2019 15:22:26 +0000
Message-ID: <E1h9ANm-0008FD-HN@gemulon.postgresql.org> (raw)
pgbench: doExecuteCommand -> executeMetaCommand
The new function is only in charge of meta commands, not SQL commands.
This change makes the code a little clearer: now all the state changes
are effected by advanceConnectionState. It also removes one indent
level, which makes the diff look bulkier than it really is.
Author: Fabien Coelho
Reviewed-by: Kirk Jamison
Discussion: https://postgr.es/m/alpine.DEB.2.21.1811240904500.12627@lancre
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9938d116331045171f37eef359992ec64c213384
Modified Files
--------------
src/bin/pgbench/pgbench.c | 299 +++++++++++++++++++++++-----------------------
1 file changed, 151 insertions(+), 148 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: alvherre@alvh.no-ip.org
Subject: Re: pgsql: pgbench: doExecuteCommand -> executeMetaCommand
In-Reply-To: <E1h9ANm-0008FD-HN@gemulon.postgresql.org>
References: <E1h9ANm-0008FD-HN@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