]> granicus.if.org Git - postgresql/commitdiff
Fix accidentally swapped error message arguments
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 2 Jul 2019 22:44:30 +0000 (23:44 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 2 Jul 2019 22:44:30 +0000 (23:44 +0100)
Author: Alexey Kondratov <a.kondratov@postgrespro.ru>

src/bin/initdb/initdb.c

index 2ef179165b86d82f1dd966c0778ce2b66a020b88..70273be783a4a14a634934a93a5dff8bdd96772b 100644 (file)
@@ -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"