- Notifications
You must be signed in to change notification settings - Fork5
Commitb486e7f
committed
Fix oversight in construction of sort/unique plans for UniquePaths.
If the original IN operator is cross-type, for example int8 = int4,we need to use int4 < int4 to sort the inner data and int4 = int4to unique-ify it. We got the first part of that right, but tried touse the original IN operator for the equality checks. Per bug #5472from Vlad Romascanu.Backpatch to 8.4, where the bug was introduced by the patch that unifiedSortClause and GroupClause. I was able to take out a whole lot of on-the-flycalls of get_equality_op_for_ordering_op(), but failed to realize thatI needed to put one back in right here :-(1 parent2925953 commitb486e7f
1 file changed
+16
-2
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
784 | 784 |
| |
785 | 785 |
| |
786 | 786 |
| |
| 787 | + | |
787 | 788 |
| |
788 | 789 |
| |
789 | 790 |
| |
790 | 791 |
| |
791 | 792 |
| |
792 | 793 |
| |
793 | 794 |
| |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
794 | 807 |
| |
795 | 808 |
| |
796 | 809 |
| |
| 810 | + | |
797 | 811 |
| |
798 | 812 |
| |
799 | 813 |
| |
800 |
| - | |
| 814 | + | |
801 | 815 |
| |
802 | 816 |
| |
803 | 817 |
| |
|
0 commit comments
Comments
(0)