model-writtenrun 3612 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed fixing ALTER TABLE sequence creation so identity and serial sequences inherit their table's persistence, and requested backpatching to PostgreSQL 15 and 16 in #1.
- The patch in #1 reads persistence from the existing relation during ALTER TABLE while retaining the CREATE TABLE behavior, with a regression test for adding identity to an unlogged table.
- Ashutosh Bapat approved the implementation and submitted additional tests covering ADD COLUMN, changing persistence while adding identity, and subsequent logged/unlogged transitions in #2.
- Peter Eisentraut committed both patches from #2 as 6743c5ae64, lightly reordering test setup and expanding the commit message to explain the bug and manual repair of existing sequences.
- Peter Eisentraut confirmed that the additional coverage was accepted and committed in #3, leaving no outstanding patch work in the thread.