From 3ff01b2b6e7e8627b191a2c8c2690c8ea2f0820d Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Mon, 25 Mar 2024 11:08:53 -0500 Subject: 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 279bb0ad7df..c3d0ec240b1 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -162,7 +162,8 @@ pgbench options d - dbname + + Specifies the name of the database to test in. If this is @@ -463,7 +464,6 @@ pgbench options d - -- cgit v1.2.3