model-writtenrun 209 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- shihao zhong reported that PostgreSQL 19 could incorrectly set FOUND after a cached SELECT INTO expression's function was recreated as a set-returning function producing zero rows #1.
- shihao zhong proposed calling exec_eval_simple_expr() directly and falling through to the regular SPI path when simple evaluation fails, accompanied by a separate optional regression test #1.
- Tom Lane agreed with the fix and additionally identified an unreachable plan-preparation check, which he removed before committing #2.
- The fix landed as 8ebfd4a484 from #1, with the redundant check removed and minor editorial changes; the optional regression test was omitted without an explicit explanation.
- shihao zhong thanked Tom Lane and agreed with removing the check, closing the thread with the code fix committed and no further work requested #3.