Fix pg_upgrade file share violation on Windows created by the commit 4741e9afb93f0d769655b2d18c2b73b86f281010. This was done by adding an optional second log file parameter to exec_prog(), and closing and reopening the log file between system() calls.
Backpatch to 9.2. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/7d947ec82ac8a7d6a6ce8acf08067dd69098d6cd Modified Files -------------- contrib/pg_upgrade/check.c | 2 +- contrib/pg_upgrade/dump.c | 2 +- contrib/pg_upgrade/exec.c | 31 ++++++++++++++++++++++++------- contrib/pg_upgrade/pg_upgrade.c | 16 ++++++++-------- contrib/pg_upgrade/pg_upgrade.h | 6 +++--- contrib/pg_upgrade/server.c | 9 ++++----- 6 files changed, 41 insertions(+), 25 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
