Re: [PATCH] Remove useless USE_PGXS support in contrib

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Remove useless USE_PGXS support in contrib
Дата
Msg-id 1371611088.13762.27.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [PATCH] Remove useless USE_PGXS support in contrib  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: [PATCH] Remove useless USE_PGXS support in contrib  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On Mon, 2013-06-17 at 11:41 +0200, Dimitri Fontaine wrote:
> I agree that having both cases (sections) in the Makefile is a bad
> idea.
> Still, why should we keep the in-tree build instructions?
> 
> Would it be possible instead to instruct PGXN to work with a non
> installed server source tree? And how much do we need that really? 

We could do something like

PG_CONFIG = fake_intree_pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

where fake_intree_pg_config is a purpose-built shell script that points
to the right places inside the source tree.





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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Remove useless USE_PGXS support in contrib
Следующее
От: David Fetter
Дата:
Сообщение: Re: Review: UNNEST (and other functions) WITH ORDINALITY