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