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

From: Andrew Gierth <rhodiumtoad(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix out-of-tree build for transform modules.
Date: 2018-09-16 18:47:02
Message-ID: E1g1c4U-0006Fy-1U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f1ca5a654d5db32c2af8b28b7fbca38bbb793f56

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-09-16 20:29:00 pgsql: Add list of acknowledgments to release notes
Previous Message Tom Lane 2018-09-16 17:03:01 pgsql: Add outfuncs.c support for RawStmt nodes.