- Notifications
You must be signed in to change notification settings - Fork28
Commitfbac127
committed
During btree index build, sort equal-keyed tuples according to their
TID (heap position). This doesn't do anything to the validity of thefinished index, but by pretending to qsort() that there are no reallyequal keys in the sort, we can avoid performance problems with qsortimplementations that have trouble with large numbers of equal keys.Patch from Manfred Koizar.1 parent55f7c33 commitfbac127
1 file changed
+24
-2
lines changedLines changed: 24 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
| |||
2020 | 2020 |
| |
2021 | 2021 |
| |
2022 | 2022 |
| |
2023 |
| - | |
| 2023 | + | |
| 2024 | + | |
2024 | 2025 |
| |
2025 | 2026 |
| |
2026 | 2027 |
| |
| |||
2081 | 2082 |
| |
2082 | 2083 |
| |
2083 | 2084 |
| |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
2084 | 2106 |
| |
2085 | 2107 |
| |
2086 | 2108 |
| |
|
0 commit comments
Comments
(0)