forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit834d97c
committed
Fix broken MemoizePath support in reparameterize_path().
It neglected to recurse to the subpath, meaning you'd get backa path identical to the input. This could produce wrong queryresults if the omission meant that the subpath fails to enforcesome join clause it should be enforcing. We don't have a testcase for this at the moment, but the code is obviously brokenand the fix is equally obvious. Back-patch to v14 whereMemoize was introduced.Richard GuoDiscussion:https://postgr.es/m/CAMbWs4_R=ORpz=Lkn2q3ebPC5EuWyfZF+tmfCPVLBVK5W39mHA@mail.gmail.com1 parentbf8fd64 commit834d97c
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3952 | 3952 |
| |
3953 | 3953 |
| |
3954 | 3954 |
| |
| 3955 | + | |
3955 | 3956 |
| |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
3956 | 3962 |
| |
3957 |
| - | |
| 3963 | + | |
3958 | 3964 |
| |
3959 | 3965 |
| |
3960 | 3966 |
| |
|
0 commit comments
Comments
(0)