Import Postgres driver support for the psql indexer (backport). (#7057)

I accidentally omitted this from the backport in #6906.
Fixes #7043.
This commit is contained in:
M. J. Fromberger
2021-10-04 16:40:12 -07:00
committed by GitHub
parent 2d8287d0f7
commit 474ed04273
2 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,6 @@ import (
"fmt"
"net"
"net/http"
_ "net/http/pprof" // nolint: gosec // securely exposed on separate, optional port
"strings"
"time"
@@ -50,6 +49,10 @@ import (
"github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time"
"github.com/tendermint/tendermint/version"
_ "net/http/pprof" // nolint: gosec // securely exposed on separate, optional port
_ "github.com/lib/pq" // provide the psql db driver
)
//------------------------------------------------------------------------------