forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfbf776a
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 parent42de04f commitfbf776a
2 files changed
+13
-2
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3200 | 3200 |
| |
3201 | 3201 |
| |
3202 | 3202 |
| |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
3203 | 3209 |
| |
3204 | 3210 |
| |
3205 | 3211 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
866 | 866 |
| |
867 | 867 |
| |
868 | 868 |
| |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
869 | 874 |
| |
870 |
| - | |
| 875 | + | |
871 | 876 |
| |
872 |
| - | |
| 877 | + | |
873 | 878 |
| |
874 | 879 |
| |
875 | 880 |
| |
|
0 commit comments
Comments
(0)