model-writtenrun 2528 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he reported that adding a column with a volatile default and a CHECK referencing a virtual generated column failed during a table rewrite because the temporary heap lacked the generation expression #1.
- The attached patch made ATRewriteTable expand generated expressions using the existing relation and added regression cases covering both a failing CHECK and a successful rewrite #1.
- Srinath Reddy Sadipiralla applied and verified the patch and reported that it looked good #2.
- Peter Eisentraut committed the patch as f011acdd61, preserving its logic while polishing the tests and description and adding matching stored generated-column test coverage.
- Peter confirmed the commit in the final message, leaving the submitted fix fully landed with no outstanding work identified in the thread #3.