model-writtenrun 5632 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jacob Champion proposed bytewise IPv4 and IPv6 SAN matching for libpq after tests written for NSS exposed missing OpenSSL support, initially pairing the feature with moving inet_net_pton.c into src/port #1.
- Kyotaro Horiguchi and Andrew Dunstan examined the certificate-name rules, and Jacob chose NSS-like fallback: an IP host may use the Common Name only when no iPAddress SAN exists, while IPv4/IPv6 cross-mapping remained unimplemented #2 #3 #4 #5.
- Horiguchi proposed a CIDR-rejecting pg_inet_pton() interface, while Andres Freund identified a Windows linking failure; Jacob repaired the build and implemented the fallback policy, then supplied the IPv6 parser refactoring as a separate optional patch #6 #8 #11 #12.
- Horiguchi's subsequent review consolidated address-family definitions into common/inet-common.h, and the discussion confirmed that certificate identity should follow the host parameter even when hostaddr specifies a different connection address #13 #14 #15 #16.
- Horiguchi found a Common Name fallback memory leak and incorrect treatment of binary address data as ASCII; Jacob fixed those issues, clarified the inet_aton() choice, and later rebased the tests #17 #18 #20.
- Discussion retained the longstanding ability to match IP addresses embedded in dNSName SANs for compatibility, and Jacob added explicit regression coverage rather than introducing stricter SAN-type filtering #19 #20 #21 #22 #23.
- Horiguchi traced his sslinfo test failures to certificates under his own ~/.postgresql directory and said he would fix that separately; after clarifying his control-flow suggestion, Jacob simplified check_cn handling #24 #25 #26 #27.
- Horiguchi requested header cleanup and documentation, then supplied expanded wording explaining the compatibility exceptions; Jacob incorporated it and credited him as a co-author, after which Horiguchi marked the series ready for a committer #28 #29 #30 #31 #32 #33.
- Tom Lane reproduced SSL test failures locally, and Daniel Gustafsson diagnosed changed switch_server_cert() arguments and supplied a separately attached fix using default_ssl_connstr, reporting that the tests then passed #35 #36 #38.
- After Greg Stark reported an apply failure, Jacob incorporated Daniel's test fixes and rebased the complete series #39 #40.
- Peter Eisentraut objected to coupling certificate verification to backend network-type parsing and requested standard address-conversion APIs; Jacob replaced the custom parser with inet_pton(), removing the relocation and optional parser patches #41 #42 #43 #44.
- Peter first committed the existing-behavior Common Name and dNSName tests from the final submission as af9e180495, preserving their fixtures and test logic from #44.
- Peter then committed the IP SAN feature from #44 as c1932e5428, removing unnecessary inet-header refactoring and adding inet_pton() availability checks, conditional IPv6 handling, and test skips, which he explained in #45.
- Both commits credit Jacob Champion as author and Horiguchi and Gustafsson as co-authors; the thread ends with Jacob acknowledging the landing, with no remaining submitted patch awaiting review and portability checks left to build-farm observation af9e180495 c1932e5428 #45 #46.