Re: Bugfix and new feature for PGXS

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Bugfix and new feature for PGXS
Дата
Msg-id 1371698781.13762.48.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Bugfix and new feature for PGXS  (Cédric Villemain <cedric@2ndquadrant.com>)
Ответы Re: Bugfix and new feature for PGXS  (Craig Ringer <craig@2ndquadrant.com>)
Re: Bugfix and new feature for PGXS  (Cédric Villemain <cedric@2ndquadrant.com>)
Список pgsql-hackers
On Wed, 2013-06-19 at 20:58 +0200, Cédric Villemain wrote:
> I believe he answered the proposal to put all headers on the same flat
> directory, instead of a tree. 

The headers are used as

#include "hstore.h"
#include "ltree.h"
etc.

in the existing source code.

If you want to install the for use by others, you can do one of three
things:

1) Install them into $(pg_config --includedir-server), so other users
will just include them in the same way as shown above.

2) Install them in a different directory, but keep the same #include
lines.  That would require PGXS changes, perhaps a new pg_config option,
or something that produces the right -I option to find them.

3) Install them in a different directory and require a different
#include line.  But then you have to change the existing uses as well,
which would probably require moving files around.

Both 2 and 3 require a lot of work, possibly compatibility breaks, for
no obvious reason.





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

Предыдущее
От: Satoshi Nagayasu
Дата:
Сообщение: Re: Fix pgstattuple/pgstatindex to use regclass-type as the argument
Следующее
От: Satoshi Nagayasu
Дата:
Сообщение: Re: Add visibility map information to pg_freespace.