model-writtenrun 4668 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hisahiro Kauchi reported that concurrent updates could leave a stored generated column stale, demonstrating a final value of 3 where 4 was expected in #1.
- Tom Lane traced the failure to skipped generated-column recomputation after EvalPlanQual retries and identified a related cross-partition problem, posting an initial fix while planning isolation tests in #2.
- Testing also exposed missing permission information in EvalPlanQual execution, prompting Tom Lane to commit b803b7d132 separately, without an attached patch, to initialize and propagate that information consistently.
- Cross-partition tests revealed that an INSERT could incorrectly reuse expressions initialized for UPDATE, so Tom Lane introduced separate caches, deferred their initialization until needed, and added tests in #3; his last message left the required backpatch scope uncertain.
- Tom Lane subsequently committed #3 as 7fee7871b4 with only a comment clarification, completing both fixes; the commit explains that the retry correction needs backpatching while the separate-cache change can remain on the development branch.