forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit74f770e
committed
Re-disallow Memoize for parameterized nested loops with join filters
This was previously fixed in9e21537 but got broken again as a resultof2489d76. It seems that commit causes ppi_clauses to containduplicate clauses and it's no longer safe to check the list_length ofthat list to determine if there are join conditions other than what'smentioned in ppi_clauses.Here we adjust the check to count the distinct rinfo_serial mentioned inppi_clauses. We expect that extra->restrictlist won't have duplicaterinfo_serials.Reported-by: Amadeo GallardoAuthor: Richard GuoDiscussion:https://postgr.es/m/CADFREbW-BLJd7-a5J%2B5wjVumeFG1ByXiSOFzMtkmY_SDWckTxw%40mail.gmail.comBackpatch-through: 16, where2489d76 was introduced.1 parent5b5318c commit74f770e
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
651 | 651 |
| |
652 | 652 |
| |
653 | 653 |
| |
654 |
| - | |
| 654 | + | |
655 | 655 |
| |
656 | 656 |
| |
657 | 657 |
| |
|
0 commit comments
Comments
(0)