Обсуждение: pgsql: Fix out-of-tree build for transform modules.

Поиск
Список
Период
Сортировка

pgsql: Fix out-of-tree build for transform modules.

От
Andrew Gierth
Дата:
Fix out-of-tree build for transform modules.

Neither plperl nor plpython installed sufficient header files to
permit transform modules to be built out-of-tree using PGXS. Fix that
by installing all plperl and plpython header files (other than those
with special purposes such as generated data tables), and also install
plpython's special .mk file for mangling regression tests.

(This commit does not fix the windows install, which does not
currently install _any_ plperl or plpython headers.)

Also fix the existing transform modules for hstore and ltree so that
their cross-module #include directives work as anticipated by commit
df163230b9 et seq. This allows them to serve as working examples of
how to reference other modules when doing separate out-of-tree builds.

Discussion: https://postgr.es/m/87o9ej8bgl.fsf%40news-spur.riddles.org.uk

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/60f6756f92251d7325d58a048f7e9a81881f8d41

Modified Files
--------------
contrib/hstore_plperl/Makefile            |  3 ++-
contrib/hstore_plperl/hstore_plperl.c     |  2 +-
contrib/hstore_plpython/Makefile          |  6 ++++--
contrib/hstore_plpython/hstore_plpython.c |  2 +-
contrib/ltree_plpython/Makefile           |  6 ++++--
contrib/ltree_plpython/ltree_plpython.c   |  2 +-
src/pl/plperl/GNUmakefile                 |  2 +-
src/pl/plpython/Makefile                  | 20 ++++++++++++++++++--
src/tools/msvc/Mkvcbuild.pm               |  6 +++---
9 files changed, 35 insertions(+), 14 deletions(-)