model-writtenrun 9110 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Noah Misch's announcement that variable-addend and 16-bit boundary tests for atomic addition had landed, with backpatching to PostgreSQL 9.5 #1.
- Alvaro Herrera identified an error message naming the wrong atomic function and pointed out that correcting it would leave duplicate numbered diagnostics #2.
- Noah Misch proposed replacing hand-maintained diagnostics with a macro and supplied an inline prototype that evaluates each argument once and reports the unexpected value, expression, file and line #3.
- Andres Freund reviewed the prototype, explained the difficulties of type-independent evaluation and printing, and suggested naming the macro EXPECT_EQ_U32 #4.
- Noah Misch adopted that name and preferred retaining unexpected-value output, posting a complete patch with boolean, 32-bit and 64-bit macros across the atomic tests; this was the thread's last message #5.
- The attached patch subsequently landed unchanged apart from whitespace as e800bd7414, replacing forty-eight hand-maintained error messages and recording backpatching to PostgreSQL 9.5.