From 88e3da5658c55d49522f01694dc43ad177987f43 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Thu, 25 Jul 2024 15:03:50 +0200 Subject: [PATCH] pg_upgrade: Remove unused macro Commit f06b1c598 removed validate_exec from pg_upgrade and instead exported it from src/common, but the macro for checking executable suffix on Windows was accidentally left. Fix by removing. Author: Alexander Lakhin Discussion: https://postgr.es/m/c1d63754-cb85-2d8a-8409-bde2c4d2d04b@gmail.com --- src/bin/pg_upgrade/pg_upgrade.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/pg_upgrade/pg_upgrade.h b/src/bin/pg_upgrade/pg_upgrade.h index e2b99b49fab..f885cc9fc40 100644 --- a/src/bin/pg_upgrade/pg_upgrade.h +++ b/src/bin/pg_upgrade/pg_upgrade.h @@ -96,7 +96,6 @@ extern char *output_files[]; #define RMDIR_CMD "@RMDIR /s/q" #define SCRIPT_PREFIX "" #define SCRIPT_EXT "bat" -#define EXE_EXT ".exe" #define ECHO_QUOTE "" #define ECHO_BLANK "." #endif -- 2.30.2