forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd6e7abe
committed
Be more user-friendly about unsupported cases for parallel pg_restore.
If we are unable to do a parallel restore because the input file is stdinor is otherwise unseekable, we should complain and fail immediately, notafter having done some of the restore. Complaining once per thread isn'tso cool either, and the messages should be worded to make it clear this isan unsupported case not some weird race-condition bug. Per complaint fromLonni Friedman.Back-patch to 8.4, where parallel restore was introduced.1 parent2c5d6f1 commitd6e7abe
2 files changed
+13
-2
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3265 | 3265 |
| |
3266 | 3266 |
| |
3267 | 3267 |
| |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
3268 | 3274 |
| |
3269 | 3275 |
| |
3270 | 3276 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
738 | 743 |
| |
739 |
| - | |
| 744 | + | |
740 | 745 |
| |
741 |
| - | |
| 746 | + | |
742 | 747 |
| |
743 | 748 |
| |
744 | 749 |
| |
|
0 commit comments
Comments
(0)