more massaging on pgxs postresql extension infrastructure

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: more massaging on pgxs postresql extension infrastructure
Date: 2004-08-11 14:25:18
Message-ID: Pine.LNX.4.58.0408111606350.1998@sablons.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Dear patchers,

after Peter's massaging on pgxs, I think the infrastructure deserves
some more massaging because:

(a) some files are missing (namely libpgport.? needed by pgbench for
instance, and I guess possibly by others).

(b) I think it is a key feature that one should be able to compile
contrib with the already installed postgresql, without having
to reconfigure.

so I submit this new patch. I've tried to preserve Peter modifications
to my initial submissions, plus:

(1) add libpgport installation under "install-all-headers" target

(2) all contrib Makefiles can ALSO use of the dynamic pgxs stuff
=> no direct inclusion of Makefile.global (which is generated by configure)
=> USE_PGXS macro enables that ("make USE_PGXS=1 install"), otherwise
it is just as before the patch, the static "configured"
infrastructured is used.

If there are still issues, which is perfectly possible, I'm really willing
to fix them while preserving the ability to compile postgresql contribs
with an already installed postgresql.

Basically it works for me.

Thanks in advance,

--
Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr

Attachment Content-Type Size
install_build_2.patch text/plain 28.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-08-11 14:58:49 Re: libpq problem
Previous Message Greg Sabino Mullane 2004-08-11 14:23:31 Re: PQserverVersion