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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/025106e314627f5aacdf72fca52ba0ed985d696e

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


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to