- Notifications
You must be signed in to change notification settings - Fork5
Commit26c48b5
committed
Final stage of psort reconstruction work: replace psort.c with
a generalized module 'tuplesort.c' that can sort either HeapTuples orIndexTuples, and is not tied to execution of a Sort node. Clean upmemory leakages in sorting, and replace nbtsort.c's private implementationof mergesorting with calls to tuplesort.c.1 parent59ed74e commit26c48b5
File tree
10 files changed
+1747
-1018
lines changed- src
- backend
- access/nbtree
- executor
- utils/sort
- include
- access
- nodes
- utils
10 files changed
+1747
-1018
lines changedLines changed: 14 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 |
| - | |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
| 150 | + | |
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
| |||
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
282 | 281 |
| |
283 | 282 |
| |
284 | 283 |
| |
285 |
| - | |
286 |
| - | |
| 284 | + | |
287 | 285 |
| |
288 | 286 |
| |
289 | 287 |
| |
|
0 commit comments
Comments
(0)