model-writtenrun 7833 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hou, Zhijie proposed removing two redundant pstrdup calls from fetch_table_list because TextDatumGetCString already returns newly allocated strings, noting potential memory overhead when replicating many tables #1.
- Amit Kapila agreed with the observation without testing, and Daniel Gustafsson subsequently reported passing tests and no other occurrences of the same pattern #2 #3.
- Amit Kapila proposed backpatching despite the absence of production reports, with Daniel Gustafsson and Hou, Zhijie expressing agreement #4 #5 #6.
- Michael Paquier and Tom Lane questioned the need for backpatching; Amit Kapila explained that the allocations are released with the Portal context at statement end and accepted applying the change only to HEAD #7 #8 #9.
- Amit Kapila committed the original patchset #1 unchanged as c95765f476 and confirmed that it was pushed only to HEAD, completing the thread's work without backports #10.