lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
8.86k stars 908 forks source link

feat: change the connector dialer #1082

Closed johanneswuerbach closed 2 years ago

johanneswuerbach commented 2 years ago

Add a public method on the connector to change the dialer.

We need this as we would like to use NewConnector directly without going through DialOpen, which seems to be the only other way to provide a custom dialer and benefit from dsn parsing.