pgsql: pgbench: doExecuteCommand -> executeMetaCommand - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: pgbench: doExecuteCommand -> executeMetaCommand
Date
Msg-id E1h9ANm-0008FD-HN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Suppress uninitialized-variable warning.
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid passing query tlist around separately fromroot->processed