model-writtenrun 3906 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Aleksander Alekseev questioned why extensions must acquire AddinShmemInitLock and store a lock pointer in shared memory in #1; his toy-extension experiment in #2 suggested that postmaster-only initialization made both unnecessary.
- Aleksander submitted code and documentation changes implementing that assumption in #3, but Windows CI exposed child-process execution of shmem_startup_hook, prompting an attempted postmaster-only restriction in #4.
- After recognizing that Windows lacks fork(), Aleksander abandoned the runtime changes in #5 and submitted documentation explaining that extensions still need AddinShmemInitLock when using shmem_startup_hook.
- Five months later, Michael Paquier explained in #6 that EXEC_BACKEND also matters outside Windows and that extensions can initialize shared memory outside the startup hook; he questioned the shared-pointer explanation and proposed documenting the alternative tranche APIs using autoprewarm.c.
- Aleksander incorporated that feedback in #7, adding LWLockNewTrancheId and LWLockRegisterTranche documentation and removing the disputed explanations, then revised only the commit message in #8; Michael expressed approval in #9.
- Michael committed #8 with documentation edits as fe705ef6fc, adding LWLockInitialize and refining the tranche instructions, as reported in #10; Aleksander thanked him in #11, leaving the documentation work landed and the original runtime changes abandoned.