*** pgsql/contrib/pg_upgrade/check.c 2010/05/13 01:03:00 1.2 --- pgsql/contrib/pg_upgrade/check.c 2010/05/13 15:58:15 1.3 *************** create_script_for_old_cluster_deletion(m *** 427,435 **** --- 427,437 ---- fclose(script); + #ifndef WIN32 if (chmod(*deletion_script_file_name, S_IRWXU) != 0) pg_log(ctx, PG_FATAL, "Could not add execute permission to file: %s\n", *deletion_script_file_name); + #endif check_ok(ctx); }