Re: Bugfix and new feature for PGXS

Поиск
Список
Период
Сортировка
От Cédric Villemain
Тема Re: Bugfix and new feature for PGXS
Дата
Msg-id 201306191155.13232.cedric@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Bugfix and new feature for PGXS  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Bugfix and new feature for PGXS  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Le mercredi 19 juin 2013 04:48:11, Peter Eisentraut a écrit :
> On Tue, 2013-06-18 at 15:52 +0200, Cédric Villemain wrote:
> > This allows for example to install hstore header and be able to
> > include them
> >
> > in another extension like that:
> >   # include "contrib/hstore/hstore.h"
>
> That's not going to work.  hstore's header file is included as #include
> "hstore.h" (cf. hstore source code).  Having it included under different
> paths in different contexts will be a mess.

OK.
At the beginning I though of putting headers in include/contrib but feared
that some header may have the same name.
If you think that it is suitable, I can do that ? (and include the clean:
recipe that I missed on the first shot)

Also, do we want to keep the word 'contrib' ? include/extension looks fine
too...

--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Add visibility map information to pg_freespace.
Следующее
От: Cédric Villemain
Дата:
Сообщение: Re: [PATCH] Remove useless USE_PGXS support in contrib