mirror of https://github.com/postgres/postgres
Previously, pg_upgrade would abort copy_file() on a short write without
setting errno, which the caller would report as an error with the
message "Success". We assume ENOSPC in that case, as we do elsewhere in
the code. Also set errno in some other error cases in copy_file() to
avoid bogus "Success" error messages.
This was broken in 6b711cf37c
, so 9.2 and
before are OK.
pull/6/head
parent
0dbf9a6a91
commit
bd5a9a50e4
Loading…
Reference in new issue