summaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/pg_upgrade.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pg_upgrade/pg_upgrade.h')
-rw-r--r--contrib/pg_upgrade/pg_upgrade.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pg_upgrade/pg_upgrade.h b/contrib/pg_upgrade/pg_upgrade.h
index 144161b6378..41c4b11245a 100644
--- a/contrib/pg_upgrade/pg_upgrade.h
+++ b/contrib/pg_upgrade/pg_upgrade.h
@@ -38,6 +38,7 @@
#define pg_copy_file copy_file
#define pg_mv_file rename
#define pg_link_file link
+#define RM_CMD "rm -f"
#define RMDIR_CMD "rm -rf"
#define SHELL_EXT "sh"
#else
@@ -45,6 +46,7 @@
#define pg_mv_file pgrename
#define pg_link_file win32_pghardlink
#define sleep(x) Sleep(x * 1000)
+#define RM_CMD "DEL /q"
#define RMDIR_CMD "RMDIR /s/q"
#define SHELL_EXT "bat"
#define EXE_EXT ".exe"