pgsql: Fix pg_upgrade file share violation on Windows created by the co - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Fix pg_upgrade file share violation on Windows created by the co
Date
Msg-id E1SynJ4-0001oM-Tt@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fbcfa90bb8ceb77f7763b6ae16bcbb777849ccee

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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Fix pg_upgrade file share violation on Windows created by the co
Next
From: Fujii Masao
Date:
Subject: Re: pgsql: fsync backup_label after pg_start_backup()