mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Simplify makefiles exporting twice enable_injection_points
This is confusing, as it exports twice the same variable. Oversight in
6782709df8
that has spread in more places afterwards.
Reported-by: Alvaro Herrera, Tom Lane
Discussion: https://postgr.es/m/202408201630.mn6vbohjh7hh@alvherre.pgsql
Backpatch-through: 17
This commit is contained in:
@@ -20,7 +20,7 @@ TAP_TESTS = 1
|
|||||||
# The injection points are cluster-wide, so disable installcheck
|
# The injection points are cluster-wide, so disable installcheck
|
||||||
NO_INSTALLCHECK = 1
|
NO_INSTALLCHECK = 1
|
||||||
|
|
||||||
export enable_injection_points enable_injection_points
|
export enable_injection_points
|
||||||
|
|
||||||
ifdef USE_PGXS
|
ifdef USE_PGXS
|
||||||
PG_CONFIG = pg_config
|
PG_CONFIG = pg_config
|
||||||
|
@@ -4,7 +4,7 @@ TAP_TESTS = 1
|
|||||||
|
|
||||||
EXTRA_INSTALL=src/test/modules/injection_points
|
EXTRA_INSTALL=src/test/modules/injection_points
|
||||||
|
|
||||||
export enable_injection_points enable_injection_points
|
export enable_injection_points
|
||||||
|
|
||||||
ifdef USE_PGXS
|
ifdef USE_PGXS
|
||||||
PG_CONFIG = pg_config
|
PG_CONFIG = pg_config
|
||||||
|
@@ -8,7 +8,7 @@ OBJS = \
|
|||||||
PGFILEDESC = "test_slru - test module for SLRUs"
|
PGFILEDESC = "test_slru - test module for SLRUs"
|
||||||
|
|
||||||
EXTRA_INSTALL=src/test/modules/injection_points
|
EXTRA_INSTALL=src/test/modules/injection_points
|
||||||
export enable_injection_points enable_injection_points
|
export enable_injection_points
|
||||||
TAP_TESTS = 1
|
TAP_TESTS = 1
|
||||||
|
|
||||||
EXTENSION = test_slru
|
EXTENSION = test_slru
|
||||||
|
@@ -18,7 +18,7 @@ subdir = src/test/recovery
|
|||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
export enable_injection_points enable_injection_points
|
export enable_injection_points
|
||||||
|
|
||||||
# required for 017_shm.pl and 027_stream_regress.pl
|
# required for 017_shm.pl and 027_stream_regress.pl
|
||||||
REGRESS_SHLIB=$(abs_top_builddir)/src/test/regress/regress$(DLSUFFIX)
|
REGRESS_SHLIB=$(abs_top_builddir)/src/test/regress/regress$(DLSUFFIX)
|
||||||
|
Reference in New Issue
Block a user