- Notifications
You must be signed in to change notification settings - Fork5
Commit70508ba
committed
Make btree index structure adjustments and WAL logging changes needed to
support btree compaction, as per proposal of a few days ago. btree indexpages no longer store parent links, instead they have a level indicator(counting up from zero for leaf pages). The FixBTree recovery logic isremoved, and replaced by code that detects missing parent-level insertionsduring WAL replay. Also, generate appropriate WAL entries when updatingbtree metapage and when building a btree index from scratch. I believebtree indexes are now completely WAL-legal for the first time.initdb forced due to index and WAL changes.1 parent4df0f1d commit70508ba
File tree
13 files changed
+2070
-1766
lines changed- src
- backend/access
- nbtree
- transam
- include
- access
- catalog
13 files changed
+2070
-1766
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
Lines changed: 371 additions & 179 deletions
Large diffs are not rendered by default.
0 commit comments
Comments
(0)