aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-09-26 22:08:58 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-09-26 22:09:07 +0100
commit639e1aa81f3d0dddd9ff9b54abb7edabd2277af1 (patch)
tree130170b538270e542176ba5f87e06a4493a214bb /src
parent441bbd298888fe751a01b6c74cc53f2e7b223fa9 (diff)
downloadpostgresql-639e1aa81f3d0dddd9ff9b54abb7edabd2277af1.tar.gz
postgresql-639e1aa81f3d0dddd9ff9b54abb7edabd2277af1.zip
pgbench: Improve help output of -I option
Add a description of the step letters to the --help output. Author: Gurjeet Singh <gurjeet@singh.im> Reviewed-by: Tristen Raab <tristen.raab@highgo.ca> Discussion: https://www.postgresql.org/message-id/flat/CABwTF4Xbc=K4tFj5Znc8jx0GCufQa577GCDsWD7=71qDnUEOyQ@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/pgbench.c9
1 files changed, 8 insertions, 1 deletions
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"