doc: Reorder protocol version option descriptions in libpq docs. master github/master
authorFujii Masao
Wed, 18 Jun 2025 00:18:40 +0000 (09:18 +0900)
committerFujii Masao
Wed, 18 Jun 2025 00:18:40 +0000 (09:18 +0900)
Commit 285613c60a7 introduced the min_protocol_version and
max_protocol_version connection options for libpq, but their descriptions
were placed in the middle of the unrelated ssl_min_protocol_version and
ssl_max_protocol_version entries.

This commit moves the min_protocol_version and max_protocol_version
descriptions to appear after the SSL-related options. This improves
the logical order and makes it easier for users to locate the relevant
settings in the libpq documentation.

Author: Fujii Masao 
Reviewed-by: Jelte Fennema-Nio
Discussion: https://postgr.es/m/a3391f36-30f5-4d4a-825b-232476819de8@oss.nttdata.com

doc/src/sgml/libpq.sgml

index 695fe958c3ed354c7bd88b796cf8a83e2a65aee0..08bd51219262dc3b2484c1ff5e9e10796b4d7298 100644 (file)
@@ -2168,6 +2168,24 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
       
      
 
+     
+      ssl_max_protocol_version
+      
+       
+        This parameter specifies the maximum SSL/TLS protocol version to allow
+        for the connection. Valid values are TLSv1,
+        TLSv1.1TLSv1.2 and
+        TLSv1.3. The supported protocols depend on the
+        version of OpenSSL used, older versions
+        not supporting the most modern protocol versions. If not set, this
+        parameter is ignored and the connection will use the maximum bound
+        defined by the backend, if set. Setting the maximum protocol version
+        is mainly useful for testing or if some component has issues working
+        with a newer protocol.
+       
+      
+     
+
      
       min_protocol_version
       
@@ -2216,24 +2234,6 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
       
      
 
-     
-      ssl_max_protocol_version
-      
-       
-        This parameter specifies the maximum SSL/TLS protocol version to allow
-        for the connection. Valid values are TLSv1,
-        TLSv1.1TLSv1.2 and
-        TLSv1.3. The supported protocols depend on the
-        version of OpenSSL used, older versions
-        not supporting the most modern protocol versions. If not set, this
-        parameter is ignored and the connection will use the maximum bound
-        defined by the backend, if set. Setting the maximum protocol version
-        is mainly useful for testing or if some component has issues working
-        with a newer protocol.
-       
-      
-     
-
      
       krbsrvname