Strange code in initdb - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Strange code in initdb
Date
Msg-id 200410122029.56902.peter_e@gmx.net
Whole thread Raw
Responses Re: Strange code in initdb
Re: Strange code in initdb
List pgsql-hackers
What is this trying to tell us?
if (ret == -1)    fprintf(stderr,            _("The program \"postgres\" is needed by %s "           "but was not found
inthe same directory as \"%s\".\n"              "Check your installation.\n"),            progname, progname);else
fprintf(stderr,           _("The program \"postgres\" was found by %s "              "but was not the same version as
\"%s\".\n"             "Check your installation.\n"),            progname, progname);
 

Shouldn't the second progname be argv[0] or something else that contains 
the full path?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Cannot build latest snapshot under Mingw
Next
From: "Joshua D. Drake"
Date:
Subject: Required permissions for data directory