forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2bcf078
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 parentb199eb8 commit2bcf078
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
635 | 635 |
| |
636 | 636 |
| |
637 | 637 |
| |
638 |
| - | |
| 638 | + | |
639 | 639 |
| |
640 | 640 |
| |
641 | 641 |
| |
|
0 commit comments
Comments
(0)