-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In my project the pgx driver is initialized after the postgres adaptor. This means that https://github.com/go-rel/postgres/blob/main/postgres.go#L202 doesn't find the driver, and defaults to postgres
, which isn't inlcuded. Is there either:
- a reason to search for the driver in the init function - or could this be moved to
Open()
? - a way to force the initialization order - I think not, because the adaptor doesn't depend on pgx, so it could always be initialized first.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels