Skip to content

Commit

Permalink
Import Postgres driver support for the psql indexer (backport). (#7057)
Browse files Browse the repository at this point in the history
I accidentally omitted this from the backport in #6906.
Fixes #7043.

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
  • Loading branch information
tnasu and M. J. Fromberger committed Feb 10, 2022
1 parent e52953e commit 63fd6c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"fmt"
"net"
"net/http"
_ "net/http/pprof" // nolint: gosec // securely exposed on separate, optional port
"strings"
"time"

Expand Down Expand Up @@ -54,7 +53,9 @@ import (
tmtime "github.com/line/ostracon/types/time"
"github.com/line/ostracon/version"

_ "github.com/lib/pq" // Register the Postgres database driver.
_ "net/http/pprof" // nolint: gosec // securely exposed on separate, optional port

_ "github.com/lib/pq" // provide the psql db driver
)

//------------------------------------------------------------------------------
Expand Down

0 comments on commit 63fd6c5

Please sign in to comment.