diff options
| author | Bruce Momjian <bruce@momjian.us> | 2010-10-19 15:52:44 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2010-10-19 15:52:44 +0000 |
| commit | 80a65c05777ef2b05dfe3a276568cad438fb804d (patch) | |
| tree | 9f25480cd3e334798c804069bdf75de258b784a6 /contrib/pg_upgrade/pg_upgrade.h | |
| parent | 6f609199df2c8d38ed0391180a2ff467333ae57c (diff) | |
Add removal of PG_VERSION to optional old cluster deletion script.
Backpatch to 9.0.X.
Diffstat (limited to 'contrib/pg_upgrade/pg_upgrade.h')
| -rw-r--r-- | contrib/pg_upgrade/pg_upgrade.h | 2 |
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" |
