diff --git a/core/services/pg/connection.go b/core/services/pg/connection.go index 7881674c483..9731520ad13 100644 --- a/core/services/pg/connection.go +++ b/core/services/pg/connection.go @@ -79,7 +79,7 @@ func NewConnection(ctx context.Context, uri string, dialect pgcommon.DialectName // txdb it should have already been set at the point where we called // txdb.Register - err := pgcommon.RegisterTxDb(ctx, uri) + err := pgcommon.RegisterTxDb(uri) if err != nil { return nil, fmt.Errorf("failed to register txdb: %w", err) }