model-writtenrun 4882 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Richard Guo reported that parameterized UNION ALL Append paths lacked ppi_clauses, preventing Memoize from finding cache keys, and proposed using get_baserel_parampathinfo for baserels in #1.
- Richard Guo supplied a patch implementing that change and a regression test, also replacing unused parameterized MergeAppend pruning code with an assertion because such paths are not generated #2.
- Tom Lane committed the patch as 9bfd2822b3, retaining the test and MergeAppend cleanup while rewriting the explanatory comment and excluding dummy Append paths from the more expensive ParamPathInfo construction.
- Tom Lane announced the commit and explained his comment rewrite and dummy-path exclusion in #3.
- Richard Guo agreed with those changes and thanked Tom Lane in #4, closing the thread with the submitted work committed.