db: migrate dbconn from lib/pq to jackc/pgx
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: asdine
This PR migrates dbconn
's PostgreSQL driver from lib/pq to jackc/pgx.
Most important changes:
db.Exec
and db.Query
because pgx doesn't provide a nice way of doing so. This can be improved in another PR by adding some helpers to dbutil.timestamptz
columns are scanned as time.Time
instances with local timestamp, which can break some tests that expect a UTC value.Fixes #16575 (closed)
Push commits to the source branch or add previously merged commits to review them.