| CommitterBackported | 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. Backpatch to 9.3. 815fcd05 | master9.4beta1REL_19_STABLE9.4beta1REL_18_STABLE9.4beta1REL_17_STABLE9.4beta1REL_16_STABLE9.4beta1REL_15_STABLE9.4beta1REL_14_STABLE9.4beta1REL_13_STABLE9.4beta1+7 more | No linked thread | Jul 27, 2013 |
| CommitterBackported | pg_upgrade docs: don't use cluster for binary/lib In a few cases, pg_upgrade said old/new cluster location when it meant old/new Postgres install location, so fix those. Per private email report 5691de6c | master9.4beta1REL_19_STABLE9.4beta1REL_18_STABLE9.4beta1REL_17_STABLE9.4beta1REL_16_STABLE9.4beta1REL_15_STABLE9.4beta1REL_14_STABLE9.4beta1REL_13_STABLE9.4beta1+7 more | No linked thread | Jul 26, 2013 |
| CommitterBackported | pg_upgrade: adjust umask() calls Since pg_upgrade -j on Windows uses threads, calling umask() before/after opening a file via fopen_priv() is no longer possible, so set umask() as we enter the thread-creating loop, and reset it on exit. Also adjust internal fopen_priv() calls to just use fopen(). Backpatch to 9.3beta. 76a7650c | master9.4beta1REL_19_STABLE9.4beta1REL_18_STABLE9.4beta1REL_17_STABLE9.4beta1REL_16_STABLE9.4beta1REL_15_STABLE9.4beta1REL_14_STABLE9.4beta1REL_13_STABLE9.4beta1+7 more | No linked thread | Jul 25, 2013 |
| CommitterBackported | pg_upgrade: fix initialization of thread argument Reorder initialization of thread argument marker to it happens before reap_child() is called. Backpatch to 9.3. e4c6cccd | master9.4beta1REL_19_STABLE9.4beta1REL_18_STABLE9.4beta1REL_17_STABLE9.4beta1REL_16_STABLE9.4beta1REL_15_STABLE9.4beta1REL_14_STABLE9.4beta1REL_13_STABLE9.4beta1+7 more | No linked thread | Jul 25, 2013 |
| CommitterBackported | pg_upgrade: more Windows parallel/-j fixes More fixes to handle Windows thread parameter passing. Backpatch to 9.3 beta. Patch originally from Andrew Dunstan 910d3a45 | master9.4beta1REL_19_STABLE9.4beta1REL_18_STABLE9.4beta1REL_17_STABLE9.4beta1REL_16_STABLE9.4beta1REL_15_STABLE9.4beta1REL_14_STABLE9.4beta1REL_13_STABLE9.4beta1+7 more | No linked thread | Jul 24, 2013 |
| CommitterBackported | pg_upgrade: fix parallel/-j crash on Windows This fixes the problem of passing the wrong function pointer when doing parallel copy/link operations on Windows. Backpatched to 9.3beta. Found and patch supplied by Andrew Dunstan d7de6a47 | master9.4beta1REL_19_STABLE9.4beta1REL_18_STABLE9.4beta1REL_17_STABLE9.4beta1REL_16_STABLE9.4beta1REL_15_STABLE9.4beta1REL_14_STABLE9.4beta1REL_13_STABLE9.4beta1+7 more | No linked thread | Jul 24, 2013 |