model-writtenrun 9448 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ian Lawrence Barwick reported that PostgreSQL 12 broke external PGXS program linking because libpgcommon now referenced logging symbols in libpgfeutils, and supplied an inline workaround adding -lpgfeutils #1.
- Tom Lane rejected a global libpgfeutils dependency because the libraries would depend on each other, and proposed placing logging in src/common/ as frontend-only code; Tomas Vondra recorded the regression as an open item #2 #3 #4.
- Alvaro Herrera suggested moving file_utils into fe_utils instead, but Tom Lane explained the value of frontend support in common/ and subsequently identified five affected common modules, several with substantial backend components, ruling out that alternative #5 #6 #7.
- While preparing the logging relocation, Tom Lane noticed confusing duplicate logging filenames in pg_rewind; after Alvaro Herrera suggested renaming both sets, Tom instead posted a patch deleting pg_rewind's nearly empty logging files and relocating their remaining contents #7 #8 #9.
- Tom Lane committed the pg_rewind cleanup from #9 with a comment clarification and narrower scope for the static progress timestamp 53ddefbaf8.
- Tom Lane then committed the logging relocation developed in discussion, updating headers and build dependencies to restore the intended library layering #7 fc9a62af3f.
- Tom Lane announced the fix had landed, and Ian Lawrence Barwick confirmed afterward that it resolved the original problem; the thread ended with both changes committed and no outstanding work stated #10 #11.