forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3979ff1
committed
Don't crash when pg_xlog is empty and pg_basebackup -x is used
The backup will not work (without a logarchive, and that's the wholepoint of -x) in this case, this patch just changes it to throw anerror instead of crashing when this happens.Noticed and diagnosed by TAKATSUKA Haruka1 parentbd5ab4b commit3979ff1
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
300 | 308 |
| |
301 | 309 |
| |
302 | 310 |
| |
|
0 commit comments
Comments
(0)