From 639e1aa81f3d0dddd9ff9b54abb7edabd2277af1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 26 Sep 2023 22:08:58 +0100 Subject: [PATCH] pgbench: Improve help output of -I option Add a description of the step letters to the --help output. Author: Gurjeet Singh Reviewed-by: Tristen Raab Discussion: https://www.postgresql.org/message-id/flat/CABwTF4Xbc=K4tFj5Znc8jx0GCufQa577GCDsWD7=71qDnUEOyQ@mail.gmail.com --- src/bin/pgbench/pgbench.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 7a42fd00ee4..e3919395eac 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -873,7 +873,14 @@ usage(void) "\nInitialization options:\n" " -i, --initialize invokes initialization mode\n" " -I, --init-steps=[" ALL_INIT_STEPS "]+ (default \"" DEFAULT_INIT_STEPS "\")\n" - " run selected initialization steps\n" + " run selected initialization steps, in the specified order\n" + " d: drop any existing pgbench tables\n" + " t: create the tables used by the standard pgbench scenario\n" + " g: generate data, client-side\n" + " G: generate data, server-side\n" + " v: invoke VACUUM on the standard tables\n" + " p: create primary key indexes on the standard tables\n" + " f: create foreign keys between the standard tables\n" " -F, --fillfactor=NUM set fill factor\n" " -n, --no-vacuum do not run VACUUM during initialization\n" " -q, --quiet quiet logging (one message each 5 seconds)\n"