pg_upgrade: properly detect file copy failure on Windows
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/file.c | modified | +5 −1 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +0 −2 |