Re: Frustrating issue with PGXS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Frustrating issue with PGXS
Дата
Msg-id 1887.1182794586@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Frustrating issue with PGXS  (Eddie Stanley <eddiewould@paradise.net.nz>)
Ответы Re: Frustrating issue with PGXS  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
>> ifdef USE_PGXS
>> PGXS := $(shell pg_config --pgxs)
>> include $(PGXS)
>> 
>> but something like
>> 
>> ifdef USE_PGXS
>> PG_CONFIG := pg_config
>> PGXS := $(shell $(PG_CONFIG) --pgxs)
>> include $(PGXS)

> That would break existing Makefiles that use the "please take the first 
> pg_config in the path" feature, which rather make sense (it just means 
> that you want the extension for your current postgresql).

How would it break them?  The default definition is still PG_CONFIG =
pg_config, this just moves where that definition appears.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bugtraq: Having Fun With PostgreSQL
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: Frustrating issue with PGXS