pgsql: Complain with proper error message if streaming stops prematurel

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Complain with proper error message if streaming stops prematurel
Дата
Msg-id E1SyLv5-0001WM-5b@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Complain with proper error message if streaming stops prematurely

In particular, with a controlled shutdown of the master, pg_basebackup
with streaming log could terminate without an error message, even though
the backup is not consistent.

In passing, fix a few cases where walfile wasn't properly set to -1 after
closing.

Fujii Masao

Branch
------
REL9_2_STABLE

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

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c |   10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Perform conversion from Python unicode to string/bytes object vi
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Complain with proper error message if streaming stops prematurel