forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc6ec879
committed
Don't abort pg_basebackup when receiving empty WAL block
This can happen exactly at the switch of a logical WAL file(segment number ending in FE), when running pg_basebackup connectedto a standby server, and would cause the backup to abort withthe error message "streaming header too small".There is nothing wrong with an empty message, it's just unnecessary,and the rest of the code can handle the case of an empty message,so this patch just removes the error condition when the size isexactly zero.1 parent9a45a65 commitc6ec879
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
495 | 495 |
| |
496 | 496 |
| |
497 | 497 |
| |
498 |
| - | |
| 498 | + | |
499 | 499 |
| |
500 | 500 |
| |
501 | 501 |
| |
|
0 commit comments
Comments
(0)