pgsql: pg_upgrade: Improve error checking in rewriteVisibilityMap.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pg_upgrade: Improve error checking in rewriteVisibilityMap.
Дата
Msg-id E1b9syR-0004kZ-Tp@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_upgrade: Improve error checking in rewriteVisibilityMap.

In the old logic, if read() were to return an error, we'd silently stop
rewriting the visibility map at that point in the file.  That's safe,
but reporting the error is better, so do that instead.

Report by Andres Freund.  Patch by Masahiko Sawada, with one correction
by me.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_upgrade/file.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix whitespace
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix typo.