model-writtenrun 6145 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Man Zeng reported that _int_matchsel() failed to release variable statistics before its non-INT4ARRAYOID early return, demonstrating a cache-reference leak warning with a custom text operator #1.
- Man Zeng submitted a patch adding ReleaseVariableStats(vardata) before that return and a regression test using the custom operator #2.
- Tom Lane committed the code fix unchanged while omitting the regression test in 524cc0f638, with backpatching through PostgreSQL 14.
- Tom Lane explained that the other early exits in the function had no tests and that this path appeared no more fragile, so he considered the additional test unnecessary #3.
- The thread ended with Tom Lane confirming that the fix was pushed, leaving no outstanding work identified in the discussion #3.