Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# src/test/modules/injection_points/Makefile
 
MODULE_big = injection_points
OBJS = \
    $(WIN32RES) \
    injection_points.o \
    regress_injection.o
EXTENSION = injection_points
DATA = injection_points--1.0.sql
PGFILEDESC = "injection_points - facility for injection points"
 
EXTRA_INSTALL = contrib/test_decoding
 
REGRESS = injection_points hashagg portal_bind reindex_conc vacuum
REGRESS_OPTS = --dlpath=$(top_builddir)/src/test/regress
 
ISOLATION = basic \
        inplace \
        reindex_concurrently_deferred \
        reindex_concurrently_toast \
        repack \
        repack_commit_race \
        repack_decode \
        repack_dropped \
        repack_missingval \
        repack_temporal \
        repack_temporal_multirange \
        repack_toast \
        ri_fastpath_reindex \
        ri_fastpath_snapshot \
        syscache-update-pruned \
        wait_cleanup \
        heap_lock_update \
        on_conflict_probe_window \
        multixact-aborted-updater
 
# some isolation tests require wal_level=replica
ISOLATION_OPTS = --temp-config $(top_srcdir)/src/test/modules/injection_points/extra.conf
 
# The injection points are cluster-wide, so disable installcheck
NO_INSTALLCHECK = 1
 
export enable_injection_points
 
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = src/test/modules/injection_points
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
 
# XXX: This test is conditional on enable_injection_points in the
# parent Makefile, so we should never get here in the first place if
# injection points are not enabled. But the buildfarm 'misc-check'
# step doesn't pay attention to the if-condition in the parent
# Makefile. To work around that, disable running the test here too.
ifeq ($(enable_injection_points),yes)
include $(top_srcdir)/contrib/contrib-global.mk
else
check:
    @echo "injection points are disabled in this build"
endif
 
endif