lib / pq

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

encode: use sql.NullTime instead of custom type #903

Open callmehollow opened 4 years ago

callmehollow commented 4 years ago

Addressed issue #902. Pull request breaks backwards compatibility, so may be custom type shouldn't be removed.

lanrat commented 4 years ago

Does this work with older go versions and backwards compatible with libraries that still use pq.NullTime?