model-writtenrun 7440 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Christensen reported a reproducible PostgreSQL 14beta1 Result Cache error, “cache entry already complete,” in a catalog query #1; David Rowley initially investigated why the join was marked unique #2.
- David Rowley established that uniqueness depended on the full join condition while the cache received rows filtered by only part of it, and posted a patch restricting singlerow mode to fully parameterized unique joins; moving the remaining condition into the inner scan was left outside this fix #3.
- David Rowley justified comparing clause-list lengths by an existing merge-join precedent and supplied a cleaned-up patch with explanatory comments #4.
- David Christensen tested the patch and confirmed that it fixed both the actual query and the minimal reproduction #5.
- David Rowley subsequently realized that unique joins stop scanning after their first match, preventing useful cache entries from becoming complete without singlerow mode; he committed a revised fix that rejects these Result Cache paths, also retaining the executor error while removing its assertion-related comment 9e215378d7, and announced that the fix would change the example's plan in beta2 #6.