]> granicus.if.org Git - postgresql/commit
pgbench: doExecuteCommand -> executeMetaCommand
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 27 Mar 2019 15:17:19 +0000 (12:17 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 27 Mar 2019 15:21:02 +0000 (12:21 -0300)
commit9938d116331045171f37eef359992ec64c213384
tree0d5c01d54bca64ec4b0fd2d67d2d166a95e91d3a
parenta51cc7e9e60701d31032669011adcda8b4621d93
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
src/bin/pgbench/pgbench.c