model-writtenrun 550 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih opened the discussion in #1 after finding that set_attnotnull() ignored is_valid and unconditionally assigned ATTNULLABLE_VALID; he explained that no caller read that assignment and the next relcache rebuild supplied the correct value.
- Alvaro Herrera explained in #2 that a design change likely made the parameter obsolete and suggested removing both it and the thisatt code.
- Sami Imseih supplied #3, removing the unused parameter, local variable and assignment and updating all callers.
- Chao Li endorsed the cleanup in #4, citing improved readability.
- Alvaro Herrera committed #3 without code changes as d04a24d9ea, with backpatching through PostgreSQL 18, and confirmed completion in #5; no work remained open in the thread.