model-writtenrun 3989 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Orlov Aleksej reported a PostgreSQL 14.9 Memoize memory leak involving numeric keys, supplied a reproducer and memory measurements, and proposed running hashing in the per-tuple memory context #1.
- David Rowley confirmed the bug and expanded the patch to reset the hashing context explicitly and handle temporary allocations during binary-mode equality comparisons #2.
- Orlov Aleksej tested the revised patch and confirmed that it fixed the leak without slowing execution #3.
- David Rowley committed the revised patch unchanged as 0b053e78b5, crediting both authors and specifying backpatching through PostgreSQL 14.
- David Rowley announced that the patch had been pushed, closing the thread with the fix landed and no outstanding requests #4.