aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-04-25 12:56:40 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-04-25 13:01:31 +0200
commit0787646e1dce966395f211fb9475dcab32daae70 (patch)
tree2b8d8b241c7686b4b6da071b91a0eaab93721671 /src
parent50b8ad30f7541ff48f50a42be9d6bd59b8ce4074 (diff)
downloadpostgresql-0787646e1dce966395f211fb9475dcab32daae70.tar.gz
postgresql-0787646e1dce966395f211fb9475dcab32daae70.zip
Small code consistency improvement
Adjust the way the increment operators are placed to be consistent throughout the function. Fixup for commit commit c1da7281060.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/connectdb.c3
1 files changed, 2 insertions, 1 deletions
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";