model-writtenrun 1291 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jelte Fennema-Nio proposed temporarily requesting protocol 3.2 by default to expose missing negotiation support in proxies, with a default-version test and max_protocol_version=3.0 as an escape hatch #1.
- Jacob Champion asked for explicit documentation of the temporary behavior and suggested requesting a version nobody would implement; Jelte chose 3.9999 to fit PQfullProtocolVersion and proposed testing rejection of an unsupported extension too #3 #4 #5.
- Jelte implemented both unsupported values in #6; Andres Freund questioned the effect on performance comparisons, and Jelte explained that negotiation adds no round trip and can be disabled explicitly #7 #8.
- After the discussion resumed in January, Jacob supplied test refactoring, header cleanup, and an explicit protocol-3.1 reservation, while proposing separate permanent and revertible changes and better guidance for users encountering failures #9; Andres confirmed that his performance concern was resolved #10.
- Jelte supported Jacob's changes and a possible production grease option, but Jacob kept production support separate from the beta experiment because handling future server versions and randomization would require more work #12 #13 #14.
- Jacob committed the default-protocol test and its refactoring from #9 as 9b9eaf08ab, retaining the 3.0 expectation, and reported that the separate protocol-3.1 work had also landed #15.
- Jacob reorganized the remaining work into protocol documentation, permanent grease reservations, and temporary default activation, isolating beta-only documentation in notes so it could later be reverted cleanly #15.
- Almost simultaneously, Jelte submitted a parallel revision with randomized versions and extension names, an explicit grease option, and reconnection when a future server selected an unsupported version; he presented these as exploratory improvements rather than requirements for PostgreSQL 19 #16.
- Jelte approved Jacob's simpler split while suggesting clearer extension tables and additional checks; Jacob deferred production randomization and questioned duplicate-parameter rejection without a protocol requirement or demonstrated interoperability problem #18 #19.
- Jacob supplied alternative documentation layouts in #20, and David G. Johnston preferred separate supported and reserved extension tables #21.
- Jelte argued that an explicit grease option would preserve negotiation test coverage after PgBouncer supported newer protocols, but accepted dropping duplicate-key checks and concluded that randomized version numbers were not worth their complexity #22 #24.
- Jelte also supported separate extension tables, and Jacob accepted that layout while retaining the namespace reservation in the registry #23 #25.
- Jacob committed the documentation portion of #20 with clarified namespace prose as e3d37853ec, and its permanent reservation portion as d8d7c5dc8f, then posted the remaining activation patch with explanatory errors and a documentation link #26.
- Jelte suggested showing guidance when older servers reject startup outright #27, leading Jacob to add targeted detection of protocol-violation errors and representations of the grease version number #28.
- Jelte tested the revised diagnostics against a PgBouncer version predating negotiation support and confirmed the intended explanation appeared; he advised against matching every _pq_. error, and Jacob agreed to commit the submitted version #29 #30.
- The complete final submission #28 landed unchanged as 4966bd3ed9, and Jacob moved follow-up communication to another thread #31; the beta experiment was complete, with activation scheduled for reversal before RC1 and production-grade randomized greasing still deferred.