Commit 722d5bee authored by Bruce Momjian's avatar Bruce Momjian

In pg_upgrade, rename SHELL_EXT to SCRIPT_EXT, for clarity.

parent 51eeccd6
......@@ -389,7 +389,7 @@ create_script_for_old_cluster_deletion(migratorContext *ctx,
prep_status(ctx, "Creating script to delete old cluster");
snprintf(*deletion_script_file_name, MAXPGPATH, "%s/delete_old_cluster.%s",
ctx->cwd, SHELL_EXT);
ctx->cwd, SCRIPT_EXT);
if ((script = fopen(*deletion_script_file_name, "w")) == NULL)
pg_log(ctx, PG_FATAL, "Could not create necessary file: %s\n",
......
......@@ -40,7 +40,7 @@
#define pg_link_file link
#define RM_CMD "rm -f"
#define RMDIR_CMD "rm -rf"
#define SHELL_EXT "sh"
#define SCRIPT_EXT "sh"
#else
#define pg_copy_file CopyFile
#define pg_mv_file pgrename
......@@ -48,7 +48,7 @@
#define sleep(x) Sleep(x * 1000)
#define RM_CMD "DEL /q"
#define RMDIR_CMD "RMDIR /s/q"
#define SHELL_EXT "bat"
#define SCRIPT_EXT "bat"
#define EXE_EXT ".exe"
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment