Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 713e2d5

Browse files
committed
Add postgres_fdw and pathman to EXTRA_INSTALL, proper temp conf.
1 parent ce2d63f commit 713e2d5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,15 @@ PGXS := $(shell $(PG_CONFIG) --pgxs)
3232
include $(PGXS)
3333

3434
else # assume the extension is in contrib/ dir of pg distribution
35+
# install pg_pathman and postgres_fdw too
36+
EXTRA_INSTALL = contrib/pg_pathman contrib/postgres_fdw
3537
PG_CPPFLAGS = -I$(libpq_srcdir) # include libpq-fe, defined in Makefile.global.in
3638
SHLIB_LINK = $(libpq) # defined in Makefile.global.in
3739
SHLIB_PREREQS = submake-libpq
3840
subdir = contrib/pg_shardman
3941
top_builddir = ../..
42+
# Add pathman to shared preload libraries when running regression tests
43+
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add
4044
include $(top_builddir)/src/Makefile.global
4145
include $(top_srcdir)/contrib/contrib-global.mk
4246
endif

conf.add

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shared_preload_libraries='pg_pathman'

0 commit comments

Comments
 (0)