model-writtenrun 2972 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis proposed fixing excessive TopMemoryContext use, collator leaks on error paths, and stale collation-cache entries after DROP COLLATION; he preferred resource owners for cleanup but requested feedback and considered the changes too invasive to backport #1.
- Jeff revised the design to track complete pg_locale_t objects instead of separate libc and ICU collators, adding a dedicated destructor and separating version checking while simplifying allocation into the cache context #2.
- The next submission rebased and reorganized the series, restored separate collator resource kinds under the cache owner, moved version checks before allocation, and added explicit cleanup for ICU rule-allocation failures #3.
- Jeff committed the collator-construction portion of that submission with additional non-ICU build handling and unsupported-provider checks, leaving the cache-context, resource-owner, and invalidation work outside this commit #3 ceeaaed87a.
- After Michael Paquier requested a rebase, Jeff reported that some patches had landed and the TopMemoryContext issue was fixed, but withdrew the remaining resource-owner approach as awkward and planned a separate patch using direct cleanup; Michael acknowledged that outcome, leaving the remaining leak and invalidation work withdrawn from this thread #4 #5 #6.