pgsql: pg_upgrade: properly detect file copy failure on Windows

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_upgrade: properly detect file copy failure on Windows
Date: 2015-11-14 16:47:19
Message-ID: E1Zxdyx-0006Gb-2E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: properly detect file copy failure on Windows

Previously, file copy failures were ignored on Windows due to an
incorrect return value check.

Report by Manu Joye

Backpatch through 9.1

Branch
------
REL9_2_STABLE

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

Modified Files
--------------
contrib/pg_upgrade/file.c | 6 +++++-
contrib/pg_upgrade/pg_upgrade.h | 2 --
2 files changed, 5 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2015-11-14 18:54:49 pgsql: PL/Python: Make tests pass with Python 3.5
Previous Message Stephen Frost 2015-11-13 16:07:00 pgsql: Correct sepgsql docs with regard to RLS