Small code consistency improvement
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 25 Apr 2025 10:56:40 +0000 (12:56 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 25 Apr 2025 11:01:31 +0000 (13:01 +0200)
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

index 9e593b70e811f37e3cb3b41efc1d8003249396f9..d55d53dbeeab91bcf54374d476e85622a0832ed5 100644 (file)
@@ -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";