diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-03-25 11:08:53 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-03-25 11:08:53 -0500 |
commit | 3ff01b2b6e7e8627b191a2c8c2690c8ea2f0820d (patch) | |
tree | 0e71b323e4ba20a2940a3333893b091eab5532ba /src/backend/executor/nodeModifyTable.c | |
parent | 374c7a2290429eac3217b0c7b0b485db9c2bcc72 (diff) | |
download | postgresql-3ff01b2b6e7e8627b191a2c8c2690c8ea2f0820d.tar.gz postgresql-3ff01b2b6e7e8627b191a2c8c2690c8ea2f0820d.zip |
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions