mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
a1b9b14cc8
Oversight in commit 418ec3207
: it's better to do it like this,
else you have to drop and recreate the extension for each
permutation. tcn.spec only has one permutation at present,
so this doesn't speed it up any, but it's still a bad example.
22 lines
424 B
Makefile
22 lines
424 B
Makefile
# contrib/tcn/Makefile
|
|
|
|
MODULES = tcn
|
|
|
|
EXTENSION = tcn
|
|
DATA = tcn--1.0.sql
|
|
PGFILEDESC = "tcn - trigger function notifying listeners"
|
|
|
|
ISOLATION = tcn
|
|
ISOLATION_OPTS = --load-extension=tcn
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/tcn
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|