forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit741b884
committed
Fix yet another crash in page split during GiST index creation.
Commita7ee7c8 fixed a bug in GiST page split during index creation,where we failed to re-find the position of a downlink after the pagecontaining it was split. However, that fix was incomplete; the other callto gistinserttuples() in the same function needs to also clear'downlinkoffnum'.Fixes bug #16134 reported by Alexander Lakhin, for real this time. Theprevious fix was enough to fix the crash with the reproducer script forbug #16162, but the original script for #16134 was still crashing.Backpatch to v12, like the previous incomplete fix.Discussion:https://www.postgresql.org/message-id/d869f537-abe4-d2ea-0510-38cd053f5152%40gmail.com1 parent5024231 commit741b884
1 file changed
+19
-12
lines changedLines changed: 19 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1325 | 1325 |
| |
1326 | 1326 |
| |
1327 | 1327 |
| |
1328 |
| - | |
1329 | 1328 |
| |
1330 | 1329 |
| |
1331 |
| - | |
| 1330 | + | |
1332 | 1331 |
| |
1333 | 1332 |
| |
1334 | 1333 |
| |
1335 | 1334 |
| |
1336 | 1335 |
| |
1337 | 1336 |
| |
1338 | 1337 |
| |
| 1338 | + | |
1339 | 1339 |
| |
1340 | 1340 |
| |
1341 | 1341 |
| |
1342 | 1342 |
| |
1343 | 1343 |
| |
1344 | 1344 |
| |
1345 |
| - | |
1346 |
| - | |
| 1345 | + | |
| 1346 | + | |
1347 | 1347 |
| |
1348 | 1348 |
| |
1349 |
| - | |
1350 | 1349 |
| |
1351 | 1350 |
| |
1352 | 1351 |
| |
| |||
1361 | 1360 |
| |
1362 | 1361 |
| |
1363 | 1362 |
| |
1364 |
| - | |
1365 |
| - | |
1366 |
| - | |
1367 |
| - | |
1368 |
| - | |
1369 |
| - | |
1370 |
| - | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
1371 | 1378 |
| |
1372 | 1379 |
| |
1373 | 1380 |
| |
|
0 commit comments
Comments
(0)