pgsql: pg_upgrade: properly detect file copy failure on Windows
pgsql: 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 Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/87cdfeb18ae0fe298b6f405718cbe97eaed190d3 Modified Files -------------- contrib/pg_upgrade/file.c | 6 +++++- contrib/pg_upgrade/pg_upgrade.h | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-)