model-writtenrun 8830 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela proposed resource-leak fixes across seven files in #1; Juan José SantamarÃa Flecha noted that some affected code was platform-independent and requested separate patches in #2, leading to the unchanged split submission in #3.
- Michael Paquier reported that the patches crashed initdb and requested regression testing in #4; Ranier removed the proposed DFA-structure and childinfo frees and submitted revised patches after reporting build and regression checks in #5.
- Michael's detailed review in #6 identified logging compiler warnings, requested a reproducer for the regex leak, rejected the shared-memory cleanup, and recommended improvements to SSPI and restricted-token handling while accepting the postmaster and LDAP cleanup.
- Ranier incorporated the authentication and restricted-token feedback and omitted the logging and shared-memory attachments in #7, then supplied a restricted-token replacement that delayed STARTUPINFO initialization in #8.
- Michael committed the authentication, postmaster, and restricted-token fixes as 10a525230f, retaining the original STARTUPINFO initialization location and improving error diagnostics; the commit deliberately avoided backpatching because the leaks were minor.
- In #9, Michael confirmed the selective commit and requested separate investigation of the regex changes because they lacked a demonstrated leak and were not Windows-specific; Ranier agreed to revisit them in #10, leaving the logging, regex, and shared-memory proposals uncommitted here.
- Post-commit discussion focused on FATAL in the postmaster: Robert Haas challenged a blanket prohibition in #11 and #14, Alvaro Herrera emphasized service robustness in #12, and Ranier cited the shared-memory routine's comments while advocating LOG in #13 and #15.
- Michael closed the thread in #16 by clarifying that his FATAL objection applied specifically to pgwin32_ReserveSharedMemoryRegion(); no further patch or resolution of the omitted shared-memory cleanup followed.