Is your feature request related to a problem? Please describe.
The node-postgres (pg) module currently doesn't support PostgreSQL 17's direct TLS negotiation feature. This feature improves connection performance and compatibility with certain proxies, but our codebase can't take advantage of it without driver support.
Describe the solution you'd like
One the upstream driver supports the feature, modify the sample to add support for the sslnegotiation connection parameter.
Describe alternatives you've considered
- Using pg-native with a newer libpq version, but this requires additional platform dependencies and may have performance implications.
Additional context
This feature was originally requested in #150 and has been broken out given many drivers already support this functionality.
Status upstream can be tracked in brianc/node-postgres#3346.
Is your feature request related to a problem? Please describe.
The node-postgres (pg) module currently doesn't support PostgreSQL 17's direct TLS negotiation feature. This feature improves connection performance and compatibility with certain proxies, but our codebase can't take advantage of it without driver support.
Describe the solution you'd like
One the upstream driver supports the feature, modify the sample to add support for the
sslnegotiationconnection parameter.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.
Status upstream can be tracked in brianc/node-postgres#3346.