Re: pg_config

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_config
Дата
Msg-id 410509F5.10606@dunslane.net
обсуждение исходный текст
Ответ на Re: pg_config  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: pg_config  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches

Bruce Momjian wrote:

>Andrew Dunstan wrote:
>
>
>>2. these cases need to be fixed:
>>
>>        else if (strcmp(argv[i],"--includedir-server") ==0)
>>            get_pkginclude_path(mypath,otherpath);
>>        else if (strcmp(argv[i],"--libdir") == 0)
>>            get_include_path(mypath,otherpath);
>>
>>We might actually need one or two functions in port/path.c to handle them.
>>
>>
>
>What is the problem here?  Why do we need additional port/path
>functions?  I see libdir is mismatched with include_path.
>
>

I don't see a function there to report the libdir at all (only
pkglibdir), and for includedir-server we would need either to append
"/server" or to have a function in path.c that reported it for us correctly.

cheers

andrew

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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: [HACKERS] Function to kill backend
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Function to kill backend