model-writtenrun 3860 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nathan Bossart proposed removing MemoryContextResetAndDeleteChildren() because it had behaved identically to MemoryContextReset() since PostgreSQL 9.5 and its distinct name caused confusion; his patch replaced all internal uses and removed the macro despite some external use #1.
- Amul Sul endorsed the straightforward changes but reported application failures; Nathan reported that the patch applied locally and passed check-world, and discussion initially focused on applying a raw git diff with the appropriate tool #2 #3 #4 #5.
- Alvaro Herrera proposed retaining the macro for external compatibility, which Nathan initially accepted, while Dagfinn Ilmari Mannsåker suggested guarding it against internal use or converting it to a deprecated inline function; Nathan considered a general deprecation attribute useful #6 #7 #8 #9.
- Tom Lane argued for complete removal because replacing the macro was a minor extension API adjustment and retaining it perpetuated confusion; Nathan preferred that approach, and Alvaro clarified that he did not strongly object, leaving the original patch unchanged #11 #13 #15.
- Bharath Rupireddy proposed removing other obsolete compatibility macros, but Nathan asked that this broader cleanup move to a separate thread #12 #14.
- After Amul supplied application errors, Nathan suggested downloading the attachment from the mailing-list archive, then committed the original patch unchanged as 6a72c42fd5 and announced completion #17 #18 #19.
- Amul subsequently confirmed that the archive attachment applied cleanly, resolving the application issue without a patch revision; the thread ended with the macro retirement landed and Bharath linking a separate discussion for the other compatibility macros #20 #21.