forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd078fe8
committed
Further harden nbtree posting split code.
Add more defensive checks around posting list split code. These shoulddetect corruption involving duplicate table TIDs earlier and morereliably than any existing check.Follow up to commit8f72bba.Discussion:https://postgr.es/m/CAH2-WzkrSY_kjyd1_M5xJK1uM0govJXMxPn8JUSvwcUOiHuWVw@mail.gmail.comBackpatch: 13-, where nbtree deduplication was introduced.1 parenta0b6520 commitd078fe8
2 files changed
+38
-2
lines changedLines changed: 21 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1164 | 1164 |
| |
1165 | 1165 |
| |
1166 | 1166 |
| |
1167 |
| - | |
1168 |
| - | |
| 1167 | + | |
1169 | 1168 |
| |
1170 | 1169 |
| |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
1171 | 1190 |
| |
1172 | 1191 |
| |
1173 | 1192 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
526 | 526 |
| |
527 | 527 |
| |
528 | 528 |
| |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
529 | 545 |
| |
| 546 | + | |
530 | 547 |
| |
531 | 548 |
| |
532 | 549 |
| |
|
0 commit comments
Comments
(0)