change driver name
This commit is contained in:
parent
1e281e2174
commit
61dc703927
|
@ -31,7 +31,7 @@ func Connect(cfg Config, server string) (db *sql.DB, err error) {
|
|||
|
||||
// connect
|
||||
if cfg.UseElasticAPM {
|
||||
db, err = apmsql.Open("pgx", uri)
|
||||
db, err = apmsql.Open("pgxv4", uri)
|
||||
} else {
|
||||
db, err = sql.Open("pgx", uri)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue