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

Lines changed: 8 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy