forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit368df30
committed
Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries.
This completes my project of improving usage of hashing for duplicateelimination (aggregate functions with DISTINCT remain undone, but that'sfor some other day).As with the previous patches, this means we can INTERSECT/EXCEPT on datatypesthat can hash but not sort, and it means that INTERSECT/EXCEPT without ORDERBY are no longer certain to produce sorted output.1 parent2d1d96b commit368df30
File tree
11 files changed
+593
-203
lines changed- src
- backend
- commands
- executor
- nodes
- optimizer
- plan
- prep
- include
- nodes
- optimizer
- test/regress
- expected
- sql
11 files changed
+593
-203
lines changedLines changed: 40 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
558 | 558 |
| |
559 | 559 |
| |
560 | 560 |
| |
561 |
| - | |
| 561 | + | |
562 | 562 |
| |
563 |
| - | |
564 |
| - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
565 | 582 |
| |
566 |
| - | |
567 |
| - | |
568 |
| - | |
569 |
| - | |
570 |
| - | |
571 |
| - | |
572 |
| - | |
573 |
| - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
574 | 602 |
| |
575 | 603 |
| |
576 | 604 |
| |
|
0 commit comments
Comments
(0)