forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3033e73
committed
Fix missing abort checks in pg_backup_directory.c.
Parallel restore from directory format failed to respond to control-Cin a timely manner, because there were no checkAborting() calls in thecode path that reads data from a file and sends it to the backend.If any worker was in the midst of restoring data for a large table,you'd just have to wait.This fix doesn't do anything for the problem of aborting a long-runningserver-side command, but at least it fixes things for data transfers.Back-patch to 9.3 where parallel restore was introduced.1 parent99e3298 commit3033e73
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
411 | 411 |
| |
412 | 412 |
| |
413 | 413 |
| |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
414 | 418 |
| |
| 419 | + | |
415 | 420 |
| |
416 | 421 |
| |
417 | 422 |
| |
| |||
556 | 561 |
| |
557 | 562 |
| |
558 | 563 |
| |
| 564 | + | |
| 565 | + | |
| 566 | + | |
559 | 567 |
| |
560 | 568 |
| |
561 | 569 |
| |
|
0 commit comments
Comments
(0)