dataddo / pgq

Go queue implementation using postgres.
https://dataddo.com
Apache License 2.0
102 stars 8 forks source link

Test with multiple drivers #9

Closed prochac closed 2 weeks ago

prochac commented 9 months ago

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:

Import pgx driver using driverName with version included https://github.com/jackc/pgx/issues/1480

Keep the usage of drivers inside integrtest pkg, this helps Go reduce dependencies. Go 1.21 (I think) does some smart "dependency-shaking"