Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 639e1aa

Browse files
committed
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
1 parent 441bbd2 commit 639e1aa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/bin/pgbench/pgbench.c

+8-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,14 @@ usage(void)
873873
"\nInitialization options:\n"
874874
" -i, --initialize invokes initialization mode\n"
875875
" -I, --init-steps=[" ALL_INIT_STEPS "]+ (default \"" DEFAULT_INIT_STEPS "\")\n"
876-
" run selected initialization steps\n"
876+
" run selected initialization steps, in the specified order\n"
877+
" d: drop any existing pgbench tables\n"
878+
" t: create the tables used by the standard pgbench scenario\n"
879+
" g: generate data, client-side\n"
880+
" G: generate data, server-side\n"
881+
" v: invoke VACUUM on the standard tables\n"
882+
" p: create primary key indexes on the standard tables\n"
883+
" f: create foreign keys between the standard tables\n"
877884
" -F, --fillfactor=NUM set fill factor\n"
878885
" -n, --no-vacuum do not run VACUUM during initialization\n"
879886
" -q, --quiet quiet logging (one message each 5 seconds)\n"

0 commit comments

Comments
 (0)