model-writtenrun 6970 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ashutosh Bapat proposed removing PG_MMAP_FLAGS because its name and placement suggested a general portability role, citing Peter Eisentraut's suggestion, but accidentally attached an unrelated enum patch in #1; Tom Lane identified the attachment mistake in #2.
- Michael Paquier initially preferred retaining the macro alongside the portability definitions, or making it local to sysv_shmem.c, because it avoided repeating flags across two mmap calls #3.
- Ashutosh supplied the correct patch in #4, explaining that other mmap callers need different flags and replacing the macro with a variable local to CreateAnonymousSegment(); Michael accepted this approach in #5.
- Ashutosh removed unnecessary initializer parentheses and revised the commit message in #6, and Michael confirmed that the revision worked for him in #7.
- Michael committed #6 as c100340729 with editorial and whitespace adjustments; Ashutosh thanked him in #8, and Michael recorded the commit for the archives in #9, closing the intended cleanup.