Closed legrandlegrand closed 3 years ago
Hi @legrandlegrand
IIUC MinGW can't work with pgxs infrastructure right? However your modified makefile assumes that pg_background is placed withing postgres' contrib, I'm not sure that's the best way to go.
Hello Julien,
It is an old post, probably that it wasn't compiling properly on MinGW !? At that time, I found this quick and dirty solution (copying an other Makefile ...).
I won't be able to help now as I don't use this env anymore :o( So my problem is solved, as this issue.
Regards PAscal
Thanks for the clarification @legrandlegrand !
here is my modified file:
MODULE_big = pg_background OBJS = pg_background.o
EXTENSION = pg_background DATA = pg_background--1.0.sql
ifdef USE_PGXS PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) else subdir = contrib/pg_background top_builddir = ../.. include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif