Strange code in initdb

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Strange code in initdb
Дата
Msg-id 200410122029.56902.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: Strange code in initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Strange code in initdb  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Cannot build latest snapshot under Mingw
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Required permissions for data directory