pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
Дата
Msg-id E1a1Lv1-00027G-C4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_upgrade:  fix CopyFile() on Windows to fail on file existence

Also fix getErrorText() to return the right error string on failure.
This behavior now matches that of other operating systems.

Report by Noah Misch

Backpatch through 9.1

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0ca3c51e5520b423b17f498f6390129659ef68e0

Modified Files
--------------
contrib/pg_upgrade/file.c |    2 +-
contrib/pg_upgrade/util.c |    2 ++
2 files changed, 3 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_upgrade: fix CopyFile() on Windows to fail on file existence
Следующее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Improve pageinspect module