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(-)