mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 10:13:24 +02:00
With OpenLDAP versions 2.4.24 through 2.4.31, inclusive, PostgreSQL backends can crash at exit. Raise a warning during "configure" based on the compile-time OpenLDAP version number, and test the crash scenario in the dblink test suite. Back-patch to 9.0 (all supported versions).
30 lines
747 B
Makefile
30 lines
747 B
Makefile
# contrib/dblink/Makefile
|
|
|
|
MODULE_big = dblink
|
|
OBJS = dblink.o $(WIN32RES)
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
SHLIB_LINK = $(libpq)
|
|
SHLIB_PREREQS = submake-libpq
|
|
|
|
EXTENSION = dblink
|
|
DATA = dblink--1.1.sql dblink--1.0--1.1.sql dblink--unpackaged--1.0.sql
|
|
PGFILEDESC = "dblink - connect to other PostgreSQL databases"
|
|
|
|
REGRESS = paths dblink
|
|
REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress
|
|
EXTRA_CLEAN = sql/paths.sql expected/paths.out
|
|
|
|
# the db name is hard-coded in the tests
|
|
override USE_MODULE_DB =
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/dblink
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|