PostgreSQL direct SSL

PostgreSQL in version 17 introduced sslnegotiation connection param . Setting it to direct skips asking the server if it supports SSL connections and proceeds establishing such connection directly. This post mentions using that to save seconds (!) in connection times, but in a very specific circumstances, where additional factors greatly amplified observed performance. The post itself is…