model-writtenrun 1897 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he proposed rejecting identity conversion when a column's NOT NULL constraint remains unvalidated, supplying a patch and regression tests in #1.
- jian he also asked whether adding a new identity or serial column together with a NOT VALID constraint should fail in #1.
- Alvaro Herrera agreed that conversion of an existing column should fail, identified the combined-command test as redundant, and explained that newly added identity or serial columns already receive valid constraints and cannot contain preexisting violating data in #2.
- d9ffc27291 landed the patch from #1 with light edits to comments, control-flow presentation, and regression coverage, retaining the principal identity-conversion test.
- Alvaro Herrera confirmed that the fix had been pushed to PostgreSQL 18 and master in #3, completing the submitted work.