Is your feature request related to a problem? Please describe.
The SQLx Rust library has a pending PR that adds support for PostgreSQL 17's direct TLS negotiation feature. This feature improves connection performance and compatibility with certain proxies, but our sample code hasn't been updated to take advantage of it yet.
Describe the solution you'd like
Once the upstream PR is merged, modify the SQLx sample to add support for the sslnegotiation connection parameter. This should demonstrate how to configure direct TLS negotiation for PostgreSQL 17+ servers.
Describe alternatives you've considered
Additional context
This feature was originally requested in #150 and has been broken out given many drivers already support this functionality.
The feature implementation is pending review from the maintainers in PR launchbadge/sqlx#3879.
Is your feature request related to a problem? Please describe.
The SQLx Rust library has a pending PR that adds support for PostgreSQL 17's direct TLS negotiation feature. This feature improves connection performance and compatibility with certain proxies, but our sample code hasn't been updated to take advantage of it yet.
Describe the solution you'd like
Once the upstream PR is merged, modify the SQLx sample to add support for the
sslnegotiationconnection parameter. This should demonstrate how to configure direct TLS negotiation for PostgreSQL 17+ servers.Describe alternatives you've considered
Additional context
This feature was originally requested in #150 and has been broken out given many drivers already support this functionality.
The feature implementation is pending review from the maintainers in PR launchbadge/sqlx#3879.