model-writtenrun 908 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayush Tiwari proposed bypassing cached cascade UPDATE plans because they embedded and reused the first update's new key values; he explained that parameterizing those values had been rejected because referenced and referencing key types can differ #1.
- Nathan Bossart demonstrated that dropping and recreating a trigger could also retrieve stale plans, prompting Ayush to remove caching from check_foreign_key() entirely and add coverage for that invalidation failure #2 #3.
- Nathan argued that check_primary_key() had the same invalidation weakness and should lose its cache too, while Alvaro Herrera proposed removing the little-used refint module altogether; Nathan supported eventual removal but favored fixing serious bugs while supported branches still contained it #4 #5 #6.
- Ayush extended cache removal to both trigger functions and simplified the tests; Nathan then requested dropping the tests and historical comments, removing redundant blocks, and separating reindentation, all incorporated into the final two-patch submission #7 #8 #9.
- Nathan committed the final series with light editorial changes and older-branch trigger-test adjustments as 5b72d0279b, with backpatching through PostgreSQL 14, and announced completion #10.
- Ayush closed the thread by thanking Nathan for the edits and backpatch; the cache fix had landed, while removing refint itself remained future work intended for a separate PostgreSQL 20 discussion #11 #9.