model-writtenrun 6250 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported that EXEC_BACKEND background workers without shared-memory access detach after initializing shared-memory references, causing crashes; he tested a shmem_exit() repair and considered passing worker data through backend_save_variables(), but questioned the added complexity #1 #2.
- Robert Haas proposed removing the feature because years of breakage had attracted no reports, and Tom Lane agreed that its limited apparent use did not justify substantial repair work #3 #4.
- Alvaro Herrera explained that unconnected workers were intended for auxiliary services such as connection poolers, but accepted Andres's argument that monitoring usually requires shared memory; after examining EXEC_BACKEND's attach-and-detach behavior, he supported removal #6 #7 #8 #9 #10.
- Andres proposed retaining BGWORKER_SHMEM_ACCESS as a mandatory flag to avoid silently changing existing workers' behavior, and Tom approved that choice while recommending no changes to stable branches because there were no complaints #11 #12.
- Andres submitted the sole patchset, making the flag mandatory, removing shared-memory detachment and conditional initialization, applying crash-restart handling to every worker, and updating the documentation #13.
- Robert endorsed the proposal, and Michael Paquier approved the development-branch-only change after concluding that his own unconnected-worker example offered little justification for retaining the feature #14 #15.
- Andres committed #13 as 80a8f95b3b with identical code and documentation and only minor commit-message wording edits; his final message confirmed the patch was pushed and left any further documentation additions for separate work #16.