lib / pq

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

[Help Wanted] undefined: driver.Connector #991

Closed fwhezfwhez closed 4 years ago

fwhezfwhez commented 4 years ago

In my project, go 1.9, this package will throw undefined: driver.Connector.

We use it to run production appliction and for some reason, can't upgrade go version.

Thus, how to solve this problem.

maddyblue commented 4 years ago

lib/pq supports the current and previous Go versions. If you want something that works with 1.9 you need to pin your dependency to an older version of lib/pq.