| 1 |
# contrib/test_decoding/Makefile |
| 2 |
|
| 3 |
MODULES = test_decoding |
| 4 |
PGFILEDESC = "test_decoding - example of a logical decoding output plugin" |
| 5 |
|
| 6 |
REGRESS = ddl xact rewrite toast permissions decoding_in_xact \ |
| 7 |
decoding_into_rel binary prepared replorigin time messages \ |
| 8 |
spill slot truncate stream stats twophase twophase_stream |
| 9 |
ISOLATION = mxact delayed_startup ondisk_startup concurrent_ddl_dml \ |
| 10 |
oldest_xmin snapshot_transfer subxact_without_top concurrent_stream \ |
| 11 |
twophase_snapshot slot_creation_error catalog_change_snapshot \ |
| 12 |
skip_snapshot_restore invalidation_distribution |
| 13 |
|
| 14 |
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/test_decoding/logical.conf |
| 15 |
ISOLATION_OPTS = --temp-config $(top_srcdir)/contrib/test_decoding/logical.conf |
| 16 |
|
| 17 |
# Disabled because these tests require "wal_level=logical", which |
| 18 |
# typical installcheck users do not have (e.g. buildfarm clients). |
| 19 |
NO_INSTALLCHECK = 1 |
| 20 |
|
| 21 |
TAP_TESTS = 1 |
| 22 |
|
| 23 |
ifdef USE_PGXS |
| 24 |
PG_CONFIG = pg_config |
| 25 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 26 |
include $(PGXS) |
| 27 |
else |
| 28 |
subdir = contrib/test_decoding |
| 29 |
top_builddir = ../.. |
| 30 |
include $(top_builddir)/src/Makefile.global |
| 31 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 32 |
endif |
| 33 |
|
| 34 |
# But it can nonetheless be very helpful to run tests on preexisting |
| 35 |
# installation, allow to do so, but only if requested explicitly. |
| 36 |
installcheck-force: |
| 37 |
$(pg_regress_installcheck) $(REGRESS) |
| 38 |
$(pg_isolation_regress_installcheck) $(ISOLATION) |