forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitccd6eb4
committed
Introduce traversalValue for SP-GiST scan
During scan sometimes it would be very helpful to know some information aboutparent node or all ancestor nodes. Right now reconstructedValue could be usedbut it's not a right usage of it (range opclass uses that).traversalValue is arbitrary piece of memory in separate MemoryContext whilereconstructedVale should have the same type as indexed column.Subsequent patches for range opclass and quad4d tree will use it.Author: Alexander Lebedev, Teodor Sigaev1 parent3063e7a commitccd6eb4
File tree
3 files changed
+37
-0
lines changed- doc/src/sgml
- src
- backend/access/spgist
- include/access
3 files changed
+37
-0
lines changedLines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
542 | 542 |
| |
543 | 543 |
| |
544 | 544 |
| |
| 545 | + | |
| 546 | + | |
545 | 547 |
| |
546 | 548 |
| |
547 | 549 |
| |
| |||
559 | 561 |
| |
560 | 562 |
| |
561 | 563 |
| |
| 564 | + | |
| 565 | + | |
562 | 566 |
| |
563 | 567 |
| |
564 | 568 |
| |
| |||
593 | 597 |
| |
594 | 598 |
| |
595 | 599 |
| |
| 600 | + | |
| 601 | + | |
| 602 | + | |
596 | 603 |
| |
597 | 604 |
| |
598 | 605 |
| |
| |||
612 | 619 |
| |
613 | 620 |
| |
614 | 621 |
| |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
615 | 629 |
| |
616 | 630 |
| |
617 | 631 |
| |
| |||
638 | 652 |
| |
639 | 653 |
| |
640 | 654 |
| |
| 655 | + | |
641 | 656 |
| |
642 | 657 |
| |
643 | 658 |
| |
|
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| |||
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 |
| |
46 | 50 |
| |
47 | 51 |
| |
| |||
239 | 243 |
| |
240 | 244 |
| |
241 | 245 |
| |
| 246 | + | |
242 | 247 |
| |
243 | 248 |
| |
244 | 249 |
| |
| |||
265 | 270 |
| |
266 | 271 |
| |
267 | 272 |
| |
| 273 | + | |
268 | 274 |
| |
269 | 275 |
| |
270 | 276 |
| |
| |||
365 | 371 |
| |
366 | 372 |
| |
367 | 373 |
| |
| 374 | + | |
368 | 375 |
| |
369 | 376 |
| |
370 | 377 |
| |
| |||
411 | 418 |
| |
412 | 419 |
| |
413 | 420 |
| |
| 421 | + | |
414 | 422 |
| |
415 | 423 |
| |
416 | 424 |
| |
| |||
456 | 464 |
| |
457 | 465 |
| |
458 | 466 |
| |
| 467 | + | |
| 468 | + | |
459 | 469 |
| |
460 | 470 |
| |
461 | 471 |
| |
| |||
523 | 533 |
| |
524 | 534 |
| |
525 | 535 |
| |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
526 | 544 |
| |
527 | 545 |
| |
528 | 546 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
| 136 | + | |
| 137 | + | |
136 | 138 |
| |
137 | 139 |
| |
138 | 140 |
| |
| |||
150 | 152 |
| |
151 | 153 |
| |
152 | 154 |
| |
| 155 | + | |
153 | 156 |
| |
154 | 157 |
| |
155 | 158 |
| |
| |||
160 | 163 |
| |
161 | 164 |
| |
162 | 165 |
| |
| 166 | + | |
163 | 167 |
| |
164 | 168 |
| |
165 | 169 |
| |
|
0 commit comments
Comments
(0)