pgsql: Complain with proper error message if streaming stops prematurel - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Complain with proper error message if streaming stops prematurel
Date
Msg-id E1SyLv5-0001WK-4S@gemulon.postgresql.org
Whole thread Raw
List 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
------
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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Complain with proper error message if streaming stops prematurel
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Put back plpython_unicode_2.out for SQL_ASCII case.