pg_upgrade: Remove unused macro
authorDaniel Gustafsson <[email protected]>
Thu, 25 Jul 2024 13:03:50 +0000 (15:03 +0200)
committerDaniel Gustafsson <[email protected]>
Thu, 25 Jul 2024 13:03:50 +0000 (15:03 +0200)
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 <[email protected]>
Discussion: https://postgr.es/m/c1d63754-cb85-2d8a-8409-bde2c4d2d04b@gmail.com

src/bin/pg_upgrade/pg_upgrade.h

index e2b99b49fabe67a4e079691a84941ae044016fce..f885cc9fc407fc06ef610f7e08a5e01ab0892807 100644 (file)
@@ -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