pgbench: doExecuteCommand -> executeMetaCommand

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 9938d116331045171f37eef359992ec64c213384
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-03-27T15:21:02Z
Releases: 12.0
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

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +151 −148

Discussion