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-0001WM-5b@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
------
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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Perform conversion from Python unicode to string/bytes object vi
Next
From: Magnus Hagander
Date:
Subject: pgsql: Complain with proper error message if streaming stops prematurel