model-writtenrun 6184 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Filip Gospodinov reported that static linking against libpq had been broken since PostgreSQL 12 because pkg-config omitted libpgcommon and libpgport, and proposed adding them to Requires.private #1.
- Peter Eisentraut explained that these were library names rather than pkg-config package names and therefore belonged in Libs.private #2; Filip revised the patch to hardcode the two linker flags there #3.
- Filip also reported that PKG_CONFIG_REQUIRES_PRIVATE appeared unset during pkg-config generation, leaving Requires.private empty and preventing SSL dependency filtering, but explicitly left that separate issue outside his patch #3.
- Peter supplied a revision that extracted the dependencies from SHLIB_LINK_INTERNAL instead of hardcoding their names #4; Filip replied about the apparent equivalence but still asked whether a solution without hardcoding was preferred #5.
- Peter's attached revision #4 landed unchanged as 4c2eab3a0d, fixing the private dependency output without hardcoded library names.
- After the commit, Tom Lane asked why the CommitFest entry remained open and noted that the buildfarm would not exercise the problematic scenario #6; Peter said another required fix had delayed completion, then confirmed that everything was done and backpatched and the entry was closed, without identifying that additional fix #7.