aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-06-20 12:12:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-06-20 12:12:29 -0400
commit2f6e240d7ac930698995ac608695cb0368f504f2 (patch)
treebd2ce45b9eb4701daaf0ba5b8fb48c44ae97018b /src
parent4464fddf7b50abe3dbb462f76fd925e10eedad1c (diff)
downloadpostgresql-2f6e240d7ac930698995ac608695cb0368f504f2.tar.gz
postgresql-2f6e240d7ac930698995ac608695cb0368f504f2.zip
pgxs.mk: remove unreachable rule for deleting regress.def.
We never create regress.def, and if we did this code would fail to delete it, because "win" is not the correct PORTNAME for Windows. This thinko seems to have originated in commit 7a6b562fd from 1999, although it got moved around multiple times since then. Author: Christoph Berg <myon@debian.org> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/aFVR7R7VDX7y2ruc@msg.df7cb.de
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/pgxs.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index 0de3737e789..039cee3dfe5 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -376,10 +376,7 @@ endif
ifdef REGRESS
# things created by various check targets
rm -rf $(pg_regress_clean_files)
-ifeq ($(PORTNAME), win)
- rm -f regress.def
endif
-endif # REGRESS
ifdef TAP_TESTS
rm -rf tmp_check/
endif