model-writtenrun 8417 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane began by explaining that inconsistent and excessively long wait-event names impeded PDF formatting and monitoring output, proposing identifier-like names with a consistent MultiWord style in #1.
- Andrey Borodin argued that names should be searchable, distinguish related waits and avoid repeating the LWLock category in #3; Tom consequently considered dropping Lock suffixes and moving ProcSignalBarrier from IO to IPC in #4.
- Discussion exposed extension-defined LWLock names and gaps in documentation: Robert Haas suggested separate tables per event category in #9, while Tom proposed centralizing built-in names and raised unresolved contrib naming and documentation policies in #15.
- Tom preserved established heavyweight lock spellings because pg_locks users depend on them, but proposed replacing the undocumented and space-containing speculative token with spectoken in #16.
- Thomas Munro proposed dropping '-ing' from parallel hash wait names in #18, which Tom supported in #19; separately, Tom rejected replacing documentation with Isaac Morland's proposed runtime view because of documentation quality and dynamically registered names in #17 and #20.
- Tom's detailed proposal in #21 tied SLRU names to their on-disk directories, distinguished control locks from buffer locks, and replaced opaque tranche names; PostgreSQL 13's new SLRU statistics interface made resolving these names urgent before release.
- Tom posted the static tranche-name implementation in #22, leaving generation of its enum and name table from a common source for later; it landed as 29c3e2dd5a with additional statistics-lookup, assertion and cleanup edits.
- After that landing, Robert defended module-local registration and explained backend-specific extension visibility in #23, while Tom defended central lists as necessary for maintainable documentation in #24; they subsequently agreed that clearer names were useful in #25, #26 and #27.
- Tom demonstrated the SLRU naming scheme with the Notify patch in #28, deliberately retaining unrelated async symbols and public functions; Alvaro Herrera endorsed that limited scope and avoiding file renames that complicate backpatching in #29.
- The Notify demonstration from #28 became 5da14938f7, extending the naming scheme to all built-in SLRUs and their locks while retaining most unrelated internal names.
- The remaining tranche proposals from #21 landed as 36ac359d36, including clearer fast-path and predicate-list field names, shorter SerializablePredicateListLock, and consistent user-visible tranche names.
- The suffix-removal proposal from #4 and #21 landed separately as 14a9101091, changing generated wait-event names and removing the public MainLWLockNames declaration.
- The heavyweight-lock exception proposed in #16 landed as 474e7da648, updating spectoken in code, documentation and isolation tests.
- At the last message, Tom proposed the remaining parallel hash renamings, XactGroupUpdate and ProcSignalBarrier reclassification before beta1, while declining further discretionary naming churn in #30; these final changes subsequently landed as 3048898e73, completing the six candidate changes.