1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fix command echoing in pg_upgade's analyze script for Windows.

This commit is contained in:
Andrew Dunstan
2012-09-04 05:51:44 -04:00
parent b5d437c011
commit 14fd5b3b9e
2 changed files with 12 additions and 7 deletions

View File

@ -77,6 +77,7 @@ extern char *output_files[];
#define RMDIR_CMD "rm -rf"
#define SCRIPT_EXT "sh"
#define ECHO_QUOTE "'"
#define ECHO_BLANK ""
#else
#define pg_copy_file CopyFile
#define pg_mv_file pgrename
@ -88,6 +89,7 @@ extern char *output_files[];
#define SCRIPT_EXT "bat"
#define EXE_EXT ".exe"
#define ECHO_QUOTE ""
#define ECHO_BLANK "."
#endif
#define CLUSTER_NAME(cluster) ((cluster) == &old_cluster ? "old" : \