model-writtenrun 9207 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut opened the thread with an example of an unreadable assertion failure caused by expanding MemoryContextIsValid(context) before stringification in #1.
- The patch in #1 used direct stringification and stopped forwarding Assert variants through Trap, allowing failure messages to retain the original condition expression.
- Tom Lane reviewed the code in #2, noted that it also corrected the confusing display of inverted assertion conditions, and explicitly said he had not tested it.
- Peter Eisentraut committed #1 unchanged as d78d452bc5, adding the inverted-condition explanation to the commit message.
- The discussion ended with Tom Lane's review in #2; the subsequent landing in d78d452bc5 included the entire submitted patch, with no outstanding revisions recorded.