Re: Should contrib modules install .h files?
От | Craig Ringer |
---|---|
Тема | Re: Should contrib modules install .h files? |
Дата | |
Msg-id | CAMsr+YGTiO7E+WSeVPzBHJVpA_Jyf6dGR+33DRRiKvVFbsynSQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Should contrib modules install .h files? (Andrew Gierth <andrew@tao11.riddles.org.uk>) |
Ответы |
Re: Should contrib modules install .h files?
|
Список | pgsql-hackers |
On 2 July 2018 at 02:23, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
So I have this immediate problem: a PGXS build of a module, specifically
an hstore transform for a non-core PL, is much harder than it should be
because it has no way to get at hstore.h since that file is never
installed anywhere.
Should that be changed?
I think there's agreement in the thread that it should, and strong +1 from me.
I just wanted to pipe up with something Petr pointed out during pglogical development, which is that Pg offers a handy tool to help extensions link up with each other - find_rendezvous_variable(...) from dfmgr.c / fmgr.h .
It's a real shame it's not more visible in contrib/ examples and the docs. Any suggestions on where it should appear in the docs? Somewhere in extend.sgml, presumably.
В списке pgsql-hackers по дате отправления: