From 84c41ae81bdf15cac71cc5ae0af69b4815594522 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 2 Jul 2019 23:44:30 +0100 Subject: [PATCH] Fix accidentally swapped error message arguments Author: Alexey Kondratov --- src/bin/initdb/initdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 2ef179165b..70273be783 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"