Обсуждение: pgsql: Complain with proper error message if streaming stops prematurel

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

pgsql: Complain with proper error message if streaming stops prematurel

От
Magnus Hagander
Дата:
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/254316f5a240621ea417329bd26320c53e283020

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