]> granicus.if.org Git - postgresql/commit
pg_upgrade: properly detect file copy failure on Windows
authorBruce Momjian <bruce@momjian.us>
Sat, 14 Nov 2015 16:47:12 +0000 (11:47 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 14 Nov 2015 16:47:12 +0000 (11:47 -0500)
commit025106e314627f5aacdf72fca52ba0ed985d696e
tree701cd93ac4aae65c23801ecb77a684f0ba0acbfe
parent42aa1c032e3520d608a1e89abbf36409b022d4b7
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
src/bin/pg_upgrade/file.c
src/bin/pg_upgrade/pg_upgrade.h