|
|
@ -389,7 +389,7 @@ create_script_for_old_cluster_deletion(migratorContext *ctx, |
|
|
|
prep_status(ctx, "Creating script to delete old cluster"); |
|
|
|
prep_status(ctx, "Creating script to delete old cluster"); |
|
|
|
|
|
|
|
|
|
|
|
snprintf(*deletion_script_file_name, MAXPGPATH, "%s/delete_old_cluster.%s", |
|
|
|
snprintf(*deletion_script_file_name, MAXPGPATH, "%s/delete_old_cluster.%s", |
|
|
|
ctx->cwd, EXEC_EXT); |
|
|
|
ctx->cwd, SHELL_EXT); |
|
|
|
|
|
|
|
|
|
|
|
if ((script = fopen(*deletion_script_file_name, "w")) == NULL) |
|
|
|
if ((script = fopen(*deletion_script_file_name, "w")) == NULL) |
|
|
|
pg_log(ctx, PG_FATAL, "Could not create necessary file: %s\n", |
|
|
|
pg_log(ctx, PG_FATAL, "Could not create necessary file: %s\n", |
|
|
|