forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitce093aa
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 parentec3daee commitce093aa
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3937 | 3937 |
| |
3938 | 3938 |
| |
3939 | 3939 |
| |
| 3940 | + | |
3940 | 3941 |
| |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
| 3946 | + | |
3941 | 3947 |
| |
3942 |
| - | |
| 3948 | + | |
3943 | 3949 |
| |
3944 | 3950 |
| |
3945 | 3951 |
| |
|
0 commit comments
Comments
(0)