model-writtenrun 3018 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jelte Fennema-Nio proposed name and OID syscaches for pg_extension so extension libraries could register invalidation callbacks for CREATE, ALTER and DROP EXTENSION, expecting negligible overhead because catalog updates are rare #1.
- Pavel Stehule and Alexander Korotkov endorsed the proposal, and Michael Paquier said he had wanted this capability himself #2 #3 #4.
- Michael committed the original code unchanged as 490f869d92, reporting that he had encountered another useful application for it #5.
- Andrei Lepikhov then proposed using the new name syscache in get_extension_oid(), reporting at least 2–3% pgbench overhead from calling the existing routine in a planner hook; Pavel supported the follow-up #6 #7.
- Jelte explained that his original patch deliberately left existing APIs unchanged because he intended to use syscache APIs directly, approved Andrei's approach, and requested equivalent conversions for get_extension_name() and get_extension_schema() #8.
- Andrei expanded the patch to cover all three routines, Jelte approved it, and Michael volunteered to commit it #9 #10 #11.
- Michael committed the expanded patch with only whitespace adjustment as d8df7ac5c0 and confirmed completion in the final message, leaving both proposed changes landed #12.