model-writtenrun 5484 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Aleš Zelený reported a reproducible PostgreSQL 14.2 backend crash during Memoize cache eviction, with no small isolated reproducer available #1.
- David Rowley traced the crash to a missing hash-table entry corresponding to an LRU item, suspected faulty hash or equality functions, and proposed replacing an assertion with a runtime check #2.
- Aleš identified integer and date cache keys and found that disabling JIT avoided the crash; Tom Lane consequently suspected LLVM, and Aleš supplied the installed LLVM package versions #3 #4 #5 #6.
- David independently reproduced the crash using a deliberately broken fixeddecimal hash function and submitted a Memoize guard that raised an error instead, proposing defensive hardening even though it would not resolve the original JIT-related cause #7.
- Tom endorsed the hardening and requested standard error-message wording; David committed the patch with that wording and a clarified comment as fa5185b26c, then confirmed it was pushed #8 #9.
- The thread ended with the defensive hardening landed but the original root cause unresolved, as Aleš asked what further diagnostics to provide and noted that avoiding a server crash would still leave the JIT-enabled query failing #10.