Re: psql sslmode behavior and trace_connection_negotiation in PG17

2024-07-17 Thread Tom Lane
Hao Zhang writes: > I tried to connect with psql + client sslmode = require + server requiring > ssl with PG17 and trace_connection_negotiation = "on". So "SSLRequest > accepted" is logged twice with two different PID. I believe the PID 15553 > is psql and 15554 is the PG backend. Certainly not:

psql sslmode behavior and trace_connection_negotiation in PG17

2024-07-17 Thread Hao Zhang
Hi I tried to connect with psql + client sslmode = require + server requiring ssl with PG17 and trace_connection_negotiation = "on". So "SSLRequest accepted" is logged twice with two different PID. I believe the PID 15553 is psql and 15554 is the PG backend. How do you explain the two connections