forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1fcf62e
committed
Handle lack of DSM slots in parallel btree build.
If no DSM slots are available, a ParallelContext can still becreated, but its seg pointer is NULL. Teach parallel btree buildto cope with that by falling back to a regular non-parallel build,to avoid crashing with a segmentation fault.Back-patch to 11, where parallel CREATE INDEX landed.Reported-by: Nicola ContuReviewed-by: Peter GeogheganDiscussion:https://postgr.es/m/CA%2BhUKGJgJEBnkuODBVomyK3MWFvDBbMVj%3Dgdt6DnRPU-5sQ6UQ%40mail.gmail.com1 parentde01777 commit1fcf62e
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1352 | 1352 |
| |
1353 | 1353 |
| |
1354 | 1354 |
| |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1355 | 1364 |
| |
1356 | 1365 |
| |
1357 | 1366 |
| |
|
0 commit comments
Comments
(0)