Tom Lane <t...@sss.pgh.pa.us> writes: > ... well, that's just a bug in hstore. *All* the contrib modules > should be using PGXS, unless they have a damn good reason not to; > which is not apparent for hstore.
Here's a patch. -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
*** a/contrib/hstore/Makefile --- b/contrib/hstore/Makefile *************** *** 1,9 **** # contrib/hstore/Makefile - subdir = contrib/hstore - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - MODULE_big = hstore OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \ crc32.o --- 1,5 ---- *************** *** 12,15 **** DATA_built = hstore.sql --- 8,21 ---- DATA = uninstall_hstore.sql REGRESS = hstore + ifdef USE_PGXS + PG_CONFIG = pg_config + PGXS := $(shell $(PG_CONFIG) --pgxs) + include $(PGXS) + else + subdir = contrib/hstore + top_builddir = ../.. + include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk + endif +
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers