forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0b4660b
committed
Complain with proper error message if streaming stops prematurely
In particular, with a controlled shutdown of the master, pg_basebackupwith streaming log could terminate without an error message, even thoughthe backup is not consistent.In passing, fix a few cases where walfile wasn't properly set to -1 afterclosing.Fujii Masao1 parentd9c77e2 commit0b4660b
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
614 | 622 | | |
615 | 623 | | |
616 | 624 | | |
617 | 625 | | |
618 | 626 | | |
| 627 | + | |
619 | 628 | | |
620 | 629 | | |
621 | 630 | | |
| |||
624 | 633 | | |
625 | 634 | | |
626 | 635 | | |
| 636 | + | |
627 | 637 | | |
628 | 638 | | |
0 commit comments
Comments
(0)