You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integtest pkg uses github.com/jackc/pgx/v4/stdlib, while we actually use v5 in production.
The versions are mostly compatible, but may have some small nuances.
The tested versions should be:
github.com/lib/pq
github.com/jackc/pgx/v4/stdlib
github.com/jackc/pgx/v5/stdlib
... next releases of pgx
Import pgx driver using driverName with version included jackc/pgx#1480
Keep the usage of drivers inside integrtest pkg, this helps Go reduce dependencies. Go 1.21 (I think) does some smart "dependency-shaking"
The text was updated successfully, but these errors were encountered:
The
integtest
pkg usesgithub.com/jackc/pgx/v4/stdlib
, while we actually usev5
in production.The versions are mostly compatible, but may have some small nuances.
The tested versions should be:
github.com/lib/pq
github.com/jackc/pgx/v4/stdlib
github.com/jackc/pgx/v5/stdlib
Import
pgx
driver usingdriverName
with version includedjackc/pgx#1480
Keep the usage of drivers inside
integrtest
pkg, this helps Go reduce dependencies. Go 1.21 (I think) does some smart "dependency-shaking"The text was updated successfully, but these errors were encountered: