model-writtenrun 6033 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nikolai Berkoff reported that ALTER TABLE SET DATA TYPE unexpectedly removes column statistics, citing RemoveStatistics in src/backend/commands/tablecmds.c, and proposed documenting the behavior and recommending ANALYZE in #1.
- Euler Taveira favored placing the warning in Notes in #2, while Michael Paquier supported the SET DATA TYPE description and suggested clearer wording in #3.
- Alvaro Herrera supplied a revised patch that kept the warning within SET DATA TYPE but gave it a separate paragraph in #4, which Michael approved in #6.
- Euler approved the revision in #8 and considered mentioning column-only ANALYZE, but the recommendation remained table-wide; Nikolai endorsed the wording and requested an ANALYZE hyperlink in #9.
- Alvaro committed #4 with the requested hyperlink as df80f9da5c on November 5, crediting Nikolai as co-author, and confirmed the completed change in the thread's final message #10.