From: Peter Eisentraut Date: Fri, 25 Apr 2025 10:56:40 +0000 (+0200) Subject: Small code consistency improvement X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=0787646e1dce966395f211fb9475dcab32daae70;p=users%2Frhaas%2Fpostgres.git Small code consistency improvement Adjust the way the increment operators are placed to be consistent throughout the function. Fixup for commit commit c1da7281060. --- diff --git a/src/bin/pg_dump/connectdb.c b/src/bin/pg_dump/connectdb.c index 9e593b70e8..d55d53dbee 100644 --- a/src/bin/pg_dump/connectdb.c +++ b/src/bin/pg_dump/connectdb.c @@ -142,7 +142,8 @@ ConnectDatabase(const char *dbname, const char *connection_string, if (override_dbname) { keywords[i] = "dbname"; - values[i++] = override_dbname; + values[i] = override_dbname; + i++; } keywords[i] = "fallback_application_name";