model-writtenrun 8715 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hugh McMaster proposed pkg-config-based libxml2 detection with an xml2-config fallback because Debian and Ubuntu were preparing to remove legacy configuration scripts, and reported that all 196 regression tests passed #1.
- Daniel Gustafsson questioned portability and maintaining two detection mechanisms #2 #4, while Peter Eisentraut pointed to an earlier discussion #3; Hugh argued that pkg-config better supports multiple architectures and that legacy scripts were disappearing #5 #6.
- Tom Lane identified missing documentation, incomplete support for manually supplied flags, and the need for unconditional pkg-config initialization #7; after Hugh questioned keeping the fallback #8, Tom insisted on retaining it for older systems #9.
- Tom supplied a revision that guarded pkg-config use, preserved explicit XML2_CONFIG overrides, and documented the detection choices using material from Peter's earlier patch #10; Daniel reviewed it and requested consistent libxml2 naming in the documentation #11.
- Hugh identified that the revision could terminate when pkg-config lacked libxml2 information and could overwrite manually supplied flags during fallback #12; Tom fixed the fatal-error behavior in the final patch but accepted the flag precedence as documented fallback behavior #13, and Hugh subsequently reported that it worked #15.
- Daniel advocated backpatching and clarified that the naming change should affect documentation rather than the configure switch #16; Tom accepted both points, judging the risk of choosing a different installed library small enough to address in release notes, while leaving the switch name and additional documentation markup unchanged #17.
- Tom committed the final patch with light status-message, comment, and documentation edits as 0bc8cebdb8, then confirmed completion and backpatching through PostgreSQL 10; older branches lacked the necessary pkg-config infrastructure #19.