Re: error out when building pg_xlogdump with pgxs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: error out when building pg_xlogdump with pgxs
Дата
Msg-id 20130827184749.GD4933@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на error out when building pg_xlogdump with pgxs  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: error out when building pg_xlogdump with pgxs  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund wrote:

> pg_xlogdump cannot properly be built with pgxs since it needs a
> sourcetree around. That already has confused some users...
> 
> How about the attached patch which will tell it's not supported instead
> of an ominous build error about files that have no rules?

Hmm, the other option is to ignore USE_PGXS completely and build
assuming the source tree is always present.  That way, if you build the
whole contrib subdir with USE_PGXS=1, you will end up with all modules
being built, not stop in the middle with an error.  This seems more
useful to me.  We could just add a comment that USE_PGXS is ignored.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Extension Templates S03E11
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore multiple --function options