model-writtenrun 5726 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Daniel Gustafsson reported that pg_regress overwrote its allocation pointer with realloc() without checking for out-of-memory failure #1.
- Daniel Gustafsson proposed replacing realloc() with pg_realloc() in fmtHba() to use its error handling and attached the one-line patch #1.
- Tom Lane agreed that the existing code appeared to be an oversight, supporting the proposed fix #2.
- Daniel Gustafsson committed the patch from #1 unchanged as 31d8d4740f, crediting Tom Lane as reviewer.
- Daniel Gustafsson closed the thread by confirming that he had exercised the patch in CI and pushed it, leaving no outstanding work stated in the thread #3.