Обсуждение: pgsql: pg_upgrade: properly detect file copy failure on Windows

Поиск
Список
Период
Сортировка

pgsql: pg_upgrade: properly detect file copy failure on Windows

От
Bruce Momjian
Дата:
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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a75efb483649a194d4578404ca294735829ff127

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