Skip to content

javascript: Add direct TLS negotiation support to Postgres.js sample #172

@danielfrankcom

Description

@danielfrankcom

Is your feature request related to a problem? Please describe.
The Postgres.js 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
Once the upstream driver supports the feature, modify the sample to add support for the sslnegotiation connection parameter.

Describe alternatives you've considered

  • No alternative available.

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 porsager/postgres#993.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions