]> 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:11 +0000 (11:47 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 14 Nov 2015 16:47:11 +0000 (11:47 -0500)
commitbdcbc2b47141cb84e6cd951fa7feef9cedce231a
tree56bfdb78d3fab7b14cd46b91d71a5a7eb1394f1b
parent7fe1d1cfbfaf190ccba576a50214378f6a262325
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
contrib/pg_upgrade/file.c
contrib/pg_upgrade/pg_upgrade.h