Skip to content

Commit b496cb3

Browse files
committed
fix: undoing simple protocol to fix jsonb
1 parent fdaaed8 commit b496cb3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"os"
1111
"time"
1212

13-
"github.com/jackc/pgx/v5"
1413
"github.com/jackc/pgx/v5/pgxpool"
1514
"github.com/jaegertracing/jaeger/plugin/storage/grpc/shared"
1615
"github.com/jaegertracing/jaeger/storage/dependencystore"
@@ -92,8 +91,6 @@ func ProvidePgxPool() any {
9291
connectTimeoutDuration := time.Second * 10
9392
pgxconfig.ConnConfig.ConnectTimeout = connectTimeoutDuration
9493

95-
pgxconfig.ConnConfig.DefaultQueryExecMode = pgx.QueryExecModeSimpleProtocol
96-
9794
ctx, cancelFn := context.WithTimeout(context.Background(), connectTimeoutDuration)
9895
defer cancelFn()
9996

0 commit comments

Comments
 (0)