Complain with proper error message if streaming stops prematurely
Magnus Hagander <magnus@hagander.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/receivelog.c | modified | +10 −0 |