Re: Strange code in initdb

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange code in initdb
Дата
Msg-id 5599.1097608453@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange code in initdb  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Shouldn't the second progname be argv[0] or something else that contains 
> the full path?

argv[0] doesn't necessarily contain the full path.  Is it worth calling
find_my_exec() here to produce an absolute path?  Possibly...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Required permissions for data directory
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Required permissions for data directory