git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 374c7a2) | patch
Adjust pgbench option for debug mode.
2024年3月25日 16:08:53 +0000 (11:08 -0500)
2024年3月25日 16:08:53 +0000 (11:08 -0500)
commit 3ff01b2b6e7e8627b191a2c8c2690c8ea2f0820d
Adjust pgbench option for debug mode.

Many other utilities use -d to specify the database to use, but
pgbench uses it to enable debug mode. This is causing some users
to accidentally enable it. This commit changes -d to accept the
database name and introduces --dbname. Debug mode can still be
enabled with --debug. This is a backward-incompatible change, but
it has been judged to be worth the trade-off, i.e., some scripts
that use pgbench will need to be updated.

Author: Greg Sabino Mullane
Reviewed-by: Tomas Vondra, Euler Taveira, Alvaro Herrera, David Christensen
Discussion: https://postgr.es/m/CAKAnmmLjAzwVtb%3DVEaeuCtnmOLpzkJ1uJ_XiQ362YdD9B72HSg%40mail.gmail.com
doc/src/sgml/ref/pgbench.sgml diff | blob | blame | history
src/bin/pgbench/pgbench.c diff | blob | blame | history
src/bin/pgbench/t/001_pgbench_with_server.pl diff | blob | blame | history
src/bin/pgbench/t/002_pgbench_no_server.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /