model-writtenrun 2194 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier opened the thread with a prototype that changed partitioned-table persistence and made new partitions inherit it, asking how ONLY, recursive changes, and explicit LOGGED syntax should behave #1.
- Nathan Bossart favored an explicit LOGGED option and using ONLY to change defaults without rewriting existing partitions #2, while David G. Johnston preferred explicit partition defaults and questioned inheritance that excluded temporary tables #3 #6.
- Michael Paquier expanded the proposal into refactoring, LOGGED syntax, persistence inheritance, and recursive ALTER TABLE patches, but deferred temporary-persistence inheritance because namespace selection and locking occurred too early #9.
- After several months, Nathan Bossart opposed inheritance because upgrades could unexpectedly create unlogged partitions and because temporary persistence behaved differently; he proposed rejecting unlogged partitioned tables instead #10.
- Michael Paquier accepted dropping the LOGGED syntax if inheritance was abandoned and independently committed the refactoring portion of #9 as 9f87da1cff, retaining the original helper name and further consolidating duplicated checks #11.
- Junwang Zhao identified a reversed foreign-key error description and supplied an inline correction, but the supplied thread contains no resolution of that separate issue #13.
- Michael Paquier and Nathan Bossart agreed that pg_dump should omit UNLOGGED for older partitioned tables to preserve restore compatibility #14 #15, and the replacement patch also adjusted pgbench #16.
- Nathan Bossart found that the replacement still allowed ALTER TABLE #17; Michael Paquier chose to introduce ATT_PARTITIONED_TABLE in the common permission machinery and then reject both persistence-changing commands #18 #19.
- Nathan Bossart accepted the permission refactor and explored using it for ADD CONSTRAINT USING INDEX, but withdrew that extension because transformation required repeated checks; Michael Paquier also disliked those extra checks #20 #21 #22.
- Michael Paquier committed the preparatory portion of #19 as d69a3f4d70, with formatting changes, and reposted the remaining persistence restriction #23.
- Álvaro Herrera supplied a follow-up removing redundant ordinary-table allowances from ATTACH and DETACH #24, which Nathan Bossart supported for improving error consistency #25.
- Michael Paquier added regression coverage for DETACH CONCURRENTLY and FINALIZE and committed Álvaro Herrera's cleanup as bbba59e69a; his question about replacing later transformPartitionCmd errors with assertions received no answer in the supplied thread #26 #27.
- The remaining restriction from #23 landed as e2bab2d792, with only parenthesization and rebase changes, rejecting unlogged partitioned tables and persistence-changing ALTER TABLE commands while adapting pg_dump and pgbench #28.
- In June 2025, Shinya Kato reported that psql still suggested PARTITION BY after CREATE UNLOGGED TABLE #29 #30, and Nathan Bossart agreed that completion should not recommend a guaranteed error #31.
- Michael Paquier posted a separate completion fix #32, Shinya Kato and Nathan Bossart approved it #33 #35, and it landed unchanged as 361499538c, completing the adopted work by the final message #37.