forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1f194ed
committed
Fix incorrect hash equality operator bug in Memoize
In v14, because we don't have a field in RestrictInfo to cache both theleft and right type's hash equality operator, we just restrict the scopeof Memoize to only when the left and right types of a RestrictInfo are thesame.In master we add another field to RestrictInfo and cache both hashequality operators.Reported-by: Jaime CasanovaAuthor: David RowleyDiscussion:https://postgr.es/m/20210929185544.GB24346%40ahch-toBackpatch-through: 141 parentbb003ed commit1f194ed
1 file changed
+15
-4
lines changedLines changed: 15 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2719 | 2719 |
| |
2720 | 2720 |
| |
2721 | 2721 |
| |
2722 |
| - | |
| 2722 | + | |
| 2723 | + | |
2723 | 2724 |
| |
2724 | 2725 |
| |
2725 | 2726 |
| |
| |||
2728 | 2729 |
| |
2729 | 2730 |
| |
2730 | 2731 |
| |
2731 |
| - | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
2732 | 2743 |
| |
2733 |
| - | |
2734 |
| - | |
| 2744 | + | |
| 2745 | + | |
2735 | 2746 |
| |
2736 | 2747 |
| |
2737 | 2748 |
| |
|
0 commit comments
Comments
(0)