postgres.git / summary / log / commit / refs
commit ff43b5e70d45c8d39ca7513e10c23367435c9826
Author: Michael Paquier <michael@paquier.xyz>
Date: Tue Sep 03 23:05:56 2024 +0000
First released in: 18.0, 17.0
Simplify makefiles exporting twice enable_injection_points
This is confusing, as it exports twice the same variable. Oversight in
6782709df81f 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
src/test/modules/test_misc/Makefile | 2 +-
src/test/recovery/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/modules/test_misc/Makefile b/src/test/modules/test_misc/Makefile
index a958d156f47..919a25fc67f 100644
--- a/src/test/modules/test_misc/Makefile
+++ b/src/test/modules/test_misc/Makefile
@@ -4,7 +4,7 @@ TAP_TESTS = 1
EXTRA_INSTALL=src/test/modules/injection_points
-export enable_injection_points enable_injection_points
+export enable_injection_points
ifdef USE_PGXS
PG_CONFIG = pg_config
diff --git a/src/test/recovery/Makefile b/src/test/recovery/Makefile
index f57baba5e89..d40c05a566d 100644
--- a/src/test/recovery/Makefile
+++ b/src/test/recovery/Makefile
@@ -18,7 +18,7 @@ subdir = src/test/recovery
top_builddir = ../../..
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
REGRESS_SHLIB=$(abs_top_builddir)/src/test/regress/regress$(DLSUFFIX)
[parent: 94f1474e600f]