[COMMITTERS] pgsql: pg_upgrade: fix -j race condition on Windows

2013-07-27 Thread Bruce Momjian
pg_upgrade: fix -j race condition on Windows Pg_Upgrade cannot write the command string to the log file and then call system() to write to the same file without causing occasional file-share errors on Windows. So instead, write the command string to the log file after system(), in those cases. Bac

[COMMITTERS] pgsql: pg_upgrade: fix -j race condition on Windows

2013-07-27 Thread Bruce Momjian
pg_upgrade: fix -j race condition on Windows Pg_Upgrade cannot write the command string to the log file and then call system() to write to the same file without causing occasional file-share errors on Windows. So instead, write the command string to the log file after system(), in those cases. Bac