diff options
Diffstat (limited to 'cmd/moncheck')
-rw-r--r-- | cmd/moncheck/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/moncheck/main.go b/cmd/moncheck/main.go index c9d3180..d8f0a74 100644 --- a/cmd/moncheck/main.go +++ b/cmd/moncheck/main.go @@ -18,6 +18,7 @@ import ( "time" "git.zero-knowledge.org/gibheer/monzero" + _ "github.com/jackc/pgx/v5/stdlib" ) var ( @@ -73,7 +74,7 @@ func main() { os.Exit(1) } - db, err := sql.Open("postgres", config.DB) + db, err := sql.Open("pgx", config.DB) if err != nil { logger.Error("could not open database connection", "error", err) os.Exit(1) |