model-writtenrun 3406 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela reported Coverity warnings about GetCommandTagName and proposed compiler-determined array sizing, initially interpreting the warning as an actual out-of-bounds bug; his intended attachment was missing #1.
- David Rowley explained that COMMAND_TAG_NEXTTAG was never passed to the command-tag accessors and supplied a patch removing that enum sentinel and the explicit tag_behavior array bound; Ranier endorsed the patch #2 #4.
- Tom Lane supported the change and asked whether it also enabled removing switch defaults; David found no switches on command-tag values, and Tom accepted that no further cleanup was needed #3 #5 #6.
- David registered the work under Ranier's name and favored delaying it during release stabilization; Ranier agreed and acknowledged that the change was a refactoring rather than a live bug fix #7 #8.
- After the security team's Coverity instance reported the same warning, Tom decided to apply the change to HEAD while leaving stable branches alone because external code might use the removed enum value #9.
- Tom committed the attached patch unchanged as 1f7452fa59, crediting Ranier; Ranier's final acknowledgment closed the thread with the change landed and no further work proposed #2 #10.