Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0ed3a8

Browse files
committed
pgbench: Fix order of options in --help output
1 parenta4fd336 commitf0ed3a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎contrib/pgbench/pgbench.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ usage(void)
328328
" %s [OPTION]... [DBNAME]\n"
329329
"\nInitialization options:\n"
330330
" -i invokes initialization mode\n"
331-
" -n do not run VACUUM after initialization\n"
332331
" -F NUM fill factor\n"
333-
" -s NUMscaling factor\n"
332+
" -n do not run VACUUM after initialization\n"
334333
" -q quiet logging (one message each 5 seconds)\n"
334+
" -s NUM scaling factor\n"
335335
" --foreign-keys\n"
336336
" create foreign key constraints between tables\n"
337337
" --index-tablespace=TABLESPACE\n"
@@ -348,10 +348,6 @@ usage(void)
348348
" -f FILENAME read transaction script from FILENAME\n"
349349
" -j NUM number of threads (default: 1)\n"
350350
" -l write transaction times to log file\n"
351-
" --sampling-rate NUM\n"
352-
" fraction of transactions to log (e.g. 0.01 for 1%% sample)\n"
353-
" --aggregate-interval NUM\n"
354-
" aggregate data over NUM seconds\n"
355351
" -M simple|extended|prepared\n"
356352
" protocol for submitting queries to server (default: simple)\n"
357353
" -n do not run VACUUM before tests\n"
@@ -362,6 +358,10 @@ usage(void)
362358
" -t NUM number of transactions each client runs (default: 10)\n"
363359
" -T NUM duration of benchmark test in seconds\n"
364360
" -v vacuum all four standard tables before tests\n"
361+
" --aggregate-interval=NUM\n"
362+
" aggregate data over NUM seconds\n"
363+
" --sampling-rate=NUM\n"
364+
" fraction of transactions to log (e.g. 0.01 for 1%% sample)\n"
365365
"\nCommon options:\n"
366366
" -d print debugging output\n"
367367
" -h HOSTNAME database server host or socket directory\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp