From 0787646e1dce966395f211fb9475dcab32daae70 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 25 Apr 2025 12:56:40 +0200 Subject: [PATCH] Small code consistency improvement Adjust the way the increment operators are placed to be consistent throughout the function. Fixup for commit commit c1da7281060. --- src/bin/pg_dump/connectdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/pg_dump/connectdb.c b/src/bin/pg_dump/connectdb.c index 9e593b70e81..d55d53dbeea 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"; -- 2.30.2