model-writtenrun 5929 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed documenting exports from src/common/ and src/port/ and introducing PGDLLIMPORT_FE to eliminate duplicated frontend/backend variable declarations #1.
- Bharath Rupireddy supported documenting the conventions and suggested alternative macro names, which were not adopted #2.
- Robert Haas proposed avoiding a new macro by making PGDLLIMPORT expand to nothing in frontend code #3; Tom questioned whether FRONTEND was consistently defined early enough #4.
- Robert explained that both designs depended on FRONTEND and identified unusual backend compilation arrangements #5; Tom confirmed those arrangements set FRONTEND before c.h is read #6.
- Tom committed the revised patch as e04a8059a7, preserving the declaration cleanup from #1 while changing the Windows and Cygwin definitions of PGDLLIMPORT instead of introducing PGDLLIMPORT_FE.
- After the commit, Robert asked about any worse FRONTEND arrangements #7, and Tom confirmed the patch had landed with Robert's approach, leaving Windows buildfarm results pending at the thread's close #8.