model-writtenrun 166 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayush Tiwari proposed two single-user shared-memory fixes in #1: restore legacy reattachment by removing an IsUnderPostmaster condition, and allow late unknown-size attachments through a new request state.
- Chao Li supported the legacy fix but questioned the extra state and test cost in #2; Ayush explained why backend type alone would also admit invalid startup requests in #3, while Jacob Champion defended regression reproducers in #5.
- Heikki Linnakangas accepted the legacy reattachment use case and highlighted broader confusion around IsUnderPostmaster in #7, and Ashutosh Bapat approved the legacy logic while requesting clearer tests and broader coverage in #9.
- Heikki committed the legacy portion of #1 as 4e277b424a, explaining in #10 that he omitted its legacy test while appreciating the reproducer.
- Heikki substantially rewrote the remaining unknown-size fix in #11, replacing the additional state with a ShmemIndex initialization check and introducing a generic helper controlled by the Perl tests.
- Ashutosh found that ShmemIndex remained non-NULL during crash restart and proposed checking unknown sizes during segment sizing, while also discussing pointer clearing and test improvements in #13.
- Ayush confirmed the crash-restart problem and submitted #14 with rejection moved to ShmemGetRequestedSize(), restored missing-area coverage, same-process recovery checks, and test cleanups; he retained the GUC-driven allocation-failure test to preserve library-loading retry coverage.
- Ashutosh reviewed the revised patch and supplied cosmetic fix-ups in #15, recommending that unrelated logging changes and additional recovery coverage be separated and that the test of the helper's own size guard be omitted.
- Heikki committed c712b0d49b using a mixture of #11 and #14: he restored immediate ShmemIndex-based rejection, cleared stale pointers in ResetShmemAllocator(), and selected and reordered the tests, as explained in #16.
- Ashutosh acknowledged the landing but remained concerned about the indirect relationship between pointer reset and validation in #17; broader documentation and legacy-API questions discussed in #12 remained follow-up ideas.
- Alexander Lakhin reported and reproduced a broken-pipe race in the newly committed startup-failure test in #18, showing that postgres could exit before the test finished writing SQL to stdin.
- Ayush supplied the empty-input fix in #19 and reported successful testing with and without the reproducer; Heikki committed it unchanged as 36a5622976 and explained in #20 that the test-only stability fix warranted landing during the release freeze, completing both original fixes and the subsequent test repair.