Thread: pgsql-server: PostgreSQL extension makefile framework ("pgxs"), by
pgsql-server: PostgreSQL extension makefile framework ("pgxs"), by
From
petere@svr1.postgresql.org (Peter Eisentraut)
Date:
Log Message: ----------- PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with some massaging by Peter Eisentraut. This is basically a simple generalization of the existing contrib makefiles. Modified Files: -------------- pgsql-server: GNUmakefile.in (r1.39 -> r1.40) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/GNUmakefile.in.diff?r1=1.39&r2=1.40) pgsql-server/contrib: contrib-global.mk (r1.7 -> r1.8) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/contrib/contrib-global.mk.diff?r1=1.7&r2=1.8) pgsql-server/doc/src/sgml: xfunc.sgml (r1.84 -> r1.85) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/xfunc.sgml.diff?r1=1.84&r2=1.85) pgsql-server/src: Makefile (r1.32 -> r1.33) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/Makefile.diff?r1=1.32&r2=1.33) Makefile.global.in (r1.189 -> r1.190) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/Makefile.global.in.diff?r1=1.189&r2=1.190) pgsql-server/src/bin/pg_config: Makefile (r1.6 -> r1.7) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/bin/pg_config/Makefile.diff?r1=1.6&r2=1.7) pg_config.sh (r1.9 -> r1.10) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/bin/pg_config/pg_config.sh.diff?r1=1.9&r2=1.10) pgsql-server/src/utils: Makefile (r1.20 -> r1.21) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/utils/Makefile.diff?r1=1.20&r2=1.21) Added Files: ----------- pgsql-server/config: Makefile (r1.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/config/Makefile?rev=1.1&content-type=text/x-cvsweb-markup) pgsql-server/src/makefiles: Makefile (r1.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/makefiles/Makefile?rev=1.1&content-type=text/x-cvsweb-markup) pgxs.mk (r1.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/makefiles/pgxs.mk?rev=1.1&content-type=text/x-cvsweb-markup)
Dear Peter, > PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with > some massaging by Peter Eisentraut. This is basically a simple > generalization of the existing contrib makefiles. Thanks for your help. I'm having a look at CVS know, and it seems to me that one cannot pgxs "dynamic" stuff to install any contrib, because: (1) all makefiles in contrib include directly "src/Makefile.global" which is generated by configure, although it is already included by the "src/makefiles/pgxs.mk" makefile anyway, so it seems to me that it is useless because redundant? (2) only static includes are used, so I cannot use "pg_config --pgxs" approach to install a contrib against an already compiled postgresql? basically, you drop the USE_PGXS stuff for dynamic configuration of contrib makefiles, and I have found no replacement. That does annoy me a little bit not to be able to use it, as it was one of my motivations for doing all that stuff... May I enquire on the rational for the current status? Would it be possible to have both worlds? If not, what is the actual issue? What was broken with version 4 I sent? Or am I missing something somewhere? I'm pretty jetlagged this afternoon...:-( Thanks in advance, -- Fabien Coelho - coelho@cri.ensmp.fr