aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-07-02 23:44:30 +0100
committerPeter Eisentraut <peter@eisentraut.org>2019-07-02 23:44:30 +0100
commit84c41ae81bdf15cac71cc5ae0af69b4815594522 (patch)
tree9bf9d9fb19ea404383610ca633b82d3ca6b9a9ae
parent24c7000f64487323fedb52b8aeadf2c84274dcf5 (diff)
downloadpostgresql-84c41ae81bdf15cac71cc5ae0af69b4815594522.tar.gz
postgresql-84c41ae81bdf15cac71cc5ae0af69b4815594522.zip
Fix accidentally swapped error message arguments
Author: Alexey Kondratov <a.kondratov@postgrespro.ru>
-rw-r--r--src/bin/initdb/initdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 2ef179165b8..70273be783a 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -2497,7 +2497,7 @@ setup_bin_paths(const char *argv0)
pg_log_error("The program \"postgres\" is needed by %s but was not found in the\n"
"same directory as \"%s\".\n"
"Check your installation.",
- full_path, progname);
+ progname, full_path);
else
pg_log_error("The program \"postgres\" was found by \"%s\"\n"
"but was not the same version as %s.\n"