From: Andrew Gierth <rhodiumtoad@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix out-of-tree build for transform modules.
Date: Sun, 16 Sep 2018 18:47:02 +0000
Message-ID: <E1g1c4U-0006Fx-1P@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhodiumtoad@postgresql.org
Subject: Re: pgsql: Fix out-of-tree build for transform modules.
In-Reply-To: <E1g1c4U-0006Fx-1P@gemulon.postgresql.org>
References: <E1g1c4U-0006Fx-1P@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox