model-writtenrun 2294 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he reported that parenthesized partition-key references bypassed the prohibition on generated columns and supplied a fix with stored and virtual regression tests in #1; Fujii Masao's testing exposed an attribute-index error in #2, which jian corrected in #3.
- Ashutosh Bapat rewrote the validation in #4 to reuse the existing generated-column check before the simple-column/expression split, combine the attribute checks, and close an additional loophole involving whole-row references.
- jian he reported a failure after changing a column type in a table partitioned by a whole-row reference in #5; Ashutosh reproduced it without the patch and identified it as a separate existing bug in #6, leaving it outside this fix.
- jian's review in #7 identified an irrelevant dropped-column comment, which Ashutosh removed in #9; Ashutosh retained the existing EXPR_KIND_ comment because changing it was unrelated to the fix.
- jian proposed a separate whole-row error detail in #8, but Ashutosh argued that it added little useful information in #10; jian accepted the existing message and endorsed the final patch in #11.
- Yura Sokolov argued for allowing virtual generated columns as partition keys in #13 and #15, while jian explained in #14 that this fix needed to enforce the current restriction consistently across equivalent syntax.
- jian reported a separate proposal to support virtual generated partition keys in #16; Ashutosh clarified in #17 that this bug fix remained necessary for existing branches and opposed changing the error code because applications might depend on it.
- Peter Eisentraut committed #9 unchanged apart from rebasing as 040cc5f3c7 and announced completion in #18; the generated-column validation fix landed, while virtual-key support remained separate work and the unrelated column-type failure was not resolved in this thread.