Re: Frustrating issue with PGXS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Frustrating issue with PGXS
Дата
Msg-id 15995.1182953405@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Frustrating issue with PGXS  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
>> What was the problem with just making all uses of pg_config in 
>> Makefile.global use a hardcoded bindir directly?

> Because bindir is given by pg_config:-)

> ISTM that the underlying issue, which was not foreseen in the initial pgxs 
> and fixed later, is that some distributions use a different installation 
> prefix at compile time and once the software is actually installed.

Right, the installation tree is supposed to be relocatable.  Otherwise
we would not need to use pg_config to find the paths at all; we'd just
hardwire all of them when constructing Makefile.global.
        regards, tom lane


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

Предыдущее
От: Michael Enke
Дата:
Сообщение: self defined data type "with limit"?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Frustrating issue with PGXS