From a5160f49c812e29183718161849aec96c52da300 Mon Sep 17 00:00:00 2001
From: Jelte Fennema-Nio <postgres@jeltef.nl>
Date: Sun, 8 Feb 2026 20:59:18 +0100
Subject: [PATCH v2 1/2] doc: Include historical protocol changes without a
 protocol version bump

In the past two updates were made to the protocol definition without
bumping the protocol version. To make these changes clearly visible to
implementers of the protocol this commit starts to list them in the
"Supported Protocol Versions" table.
---
 doc/src/sgml/protocol.sgml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 89ac680efd5..101267c097d 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -251,7 +251,29 @@
       </row>
       <row>
       <entry>3.0</entry>
+      <entry>PostgreSQL 17 and later</entry>
+      <entry>The 3.0 protocol definition was updated to recognize connections that
+        immediately begin SSL negotiation without a prior SSLRequest message.
+        Clients based on libpq can use <literal>sslnegotiation=direct</literal>
+        to skip sending the SSLRequest.
+      </entry>
+      </row>
+      <row>
+      <entry>3.0</entry>
+      <entry>PostgreSQL 9.3.21 and later</entry>
+      <entry>The 3.0 protocol definition was updated to include a
+        NegotiateProtocolVersion message. The NegotiateProtocolVersion message
+        allows servers to indicate to the client that it does not support the
+        minor protocol version or protocol extensions that the client has
+        requested. The client can then choose to continue using the connection
+        with the older protocol version and/or without the unsupported protocol
+        extensions, or to abort the connection attempt.
+      </entry>
+      </row>
+      <row>
+      <entry>3.0</entry>
       <entry>PostgreSQL 7.4 and later</entry>
+      <entry>The first 3.x protocol version.</entry>
       </row>
      </tbody>
     </tgroup>

base-commit: 73dd7163c5d19f93b629d1ccd9d2a2de6e9667f6
-- 
2.52.0

