Skip to content

Old Postgres driver - can't connect PostgreSQL DB hosted on neon.tech #7578

@olifink

Description

@olifink

Issue Summary

Can't connect a Postgres DB hosted on neon.tech because it appears redash uses an older driver that doesn't support Endpoint IDs. Also, there is no way to enter the parameters in the connection string for a workaround

Connection Test Failed:
ERROR: Endpoint ID is not specified. Either please upgrade the postgres client library (libpq) for SNI support or pass the endpoint ID (first part of the domain name) as a parameter: '?options=endpoint%3D<endpoint-id>'. See more at https://neon.tech/sni

Steps to Reproduce

  1. Setup the database with the following connection string

DATABASE_URL='postgresql://neondb_owner:XXXXXXXXXX@ep-shiny-wildflower-ag83nxur-pooler.c-2.eu-central-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require'

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?

Technical details:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions