forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8bbbcb9
committed
Fix bug in the new GIN incomplete-split code.
Inserting a downlink to an internal page clears the incomplete-split flagof the child's left sibling, so the left sibling's LSN also needs to beupdated and it needs to be marked dirty. The codepath for an insertion gotthis right, but the case where the internal node is split because ofinserting the new downlink missed that.1 parent6eff0ac commit8bbbcb9
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
| 546 | + | |
| 547 | + | |
546 | 548 |
| |
547 | 549 |
| |
548 | 550 |
| |
| |||
571 | 573 |
| |
572 | 574 |
| |
573 | 575 |
| |
| 576 | + | |
| 577 | + | |
574 | 578 |
| |
575 | 579 |
| |
576 | 580 |
| |
|
0 commit comments
Comments
(0)