- Notifications
You must be signed in to change notification settings - Fork28
Commitb054498
committed
Make error handling in parallel pg_upgrade less bogus.
reap_child() basically ignored the possibility of either an error inwaitpid() itself or a child process failure on signal. We don't reallyneed to do more than report and crash hard, but proceeding as thoughnothing is wrong is definitely Not Acceptable. The error report fornonzero child exit status was pretty off-point, as well.Noted while fooling around with child-process failure detectionlogic elsewhere. It's been like this a long time, so back-patch toall supported branches.1 parentb1894a6 commitb054498
1 file changed
+8
-9
lines changedLines changed: 8 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
| 293 | + | |
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
311 | 310 |
| |
312 | 311 |
| |
313 | 312 |
| |
|
0 commit comments
Comments
(0)