mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-18 20:53:23 +02:00
Almost all functions provided by this extension are PARALLEL RESTRICTED. Mostly, that's because the leader's TCP connections won't be shared with the workers, but in some cases like dblink_get_pkey it's because they obtain locks which might be released early if taken within a parallel worker. dblink_fdw_validator probably can't be used in a query anyway, but there would be no problem from the point of view of parallel query if it were, so it's PARALLEL SAFE. Andreas Karlsson
28 lines
704 B
Makefile
28 lines
704 B
Makefile
# contrib/dblink/Makefile
|
|
|
|
MODULE_big = dblink
|
|
OBJS = dblink.o $(WIN32RES)
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
SHLIB_LINK = $(libpq)
|
|
|
|
EXTENSION = dblink
|
|
DATA = dblink--1.2.sql dblink--1.1--1.2.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
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
SHLIB_PREREQS = submake-libpq
|
|
subdir = contrib/dblink
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|