model-writtenrun 293 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut reported that literal LSNs would flood pg_stat_statements with distinct WAIT FOR entries in #1, and sirisha chamarthi supplied an LSN-only normalization patch in #2.
- Sami Imseih expanded the patch to normalize option values using DefElem argument locations and a reusable jumbling helper in #3; Rithvika Devisetti verified both versions and highlighted the remaining timeout fragmentation in #4 and #5.
- Sirisha warned that normalizing MODE would merge semantically different waits in #6, and Michael Paquier favored landing only the clear LSN fix while gathering more evidence about options in #8; Sami set aside option normalization in #11, and Nathan Bossart endorsed the smaller fix for PostgreSQL 19 in #14.
- Michael committed #2 as 282111b45c with expanded option-pattern tests and minor comment formatting changes, confirming the backpatch through PostgreSQL 19 in #15; WITH-clause values remained literal.
- Alexander Korotkov volunteered to revisit option normalization for PostgreSQL 20 in #16, while Michael cautioned that broader DefElem normalization needed more thought because string values have command-specific meanings in #17.
- Alexander supplied a WAIT-specific redesign in #18 that normalizes TIMEOUT, preserves MODE and NO_THROW values, and ignores recognized-option ordering; he left implicit versus explicit true values distinct because boolean conversion can throw, and deferred password handling to another thread.
- At the thread's close, the LSN fix had landed but the option-normalization follow-up remained under discussion: Sami supported focusing on TIMEOUT while objecting to WAIT-specific order normalization, arguing that any order-independent behavior should cover utility commands generally in #19.