]> granicus.if.org Git - postgresql/commit
Fix pg_upgrade file share violation on Windows created by the commit
authorBruce Momjian <bruce@momjian.us>
Tue, 7 Aug 2012 17:10:44 +0000 (13:10 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 7 Aug 2012 17:10:44 +0000 (13:10 -0400)
commitfbcfa90bb8ceb77f7763b6ae16bcbb777849ccee
treea6db366b3c269b62597980009d043a84deefb213
parent3a42a3ffd898114e6e19dafe0911b23921b288f4
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.
contrib/pg_upgrade/check.c
contrib/pg_upgrade/dump.c
contrib/pg_upgrade/exec.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/server.c