aboutsummaryrefslogtreecommitdiff
path: root/src
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:45:00 +0100
commit91be5387c20dbd9a015b37064cb789a368974b00 (patch)
tree76193a2ca8434ddb83a80b3ffcd48c55d7dc1a87 /src
parent7956d7ac9811a6e97b3aef2ad00272c0b72dc7da (diff)
downloadpostgresql-91be5387c20dbd9a015b37064cb789a368974b00.tar.gz
postgresql-91be5387c20dbd9a015b37064cb789a368974b00.zip
Fix accidentally swapped error message arguments
Author: Alexey Kondratov <a.kondratov@postgrespro.ru>
Diffstat (limited to 'src')
-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"