diff --git a/pkg/db/tx.go b/pkg/db/tx.go index 43e785e46bd..f8d7c555dc9 100644 --- a/pkg/db/tx.go +++ b/pkg/db/tx.go @@ -170,17 +170,6 @@ func ReadOnly() TxOpt { } } -func ReadCommitted() TxOpt { - return func(o *TxOptions) { - o.isolationLevel = pgx.ReadCommitted - } -} -func RepeatableRead() TxOpt { - return func(o *TxOptions) { - o.isolationLevel = pgx.RepeatableRead - } -} - func WithIsolationLevel(level pgx.TxIsoLevel) TxOpt { return func(o *TxOptions) { o.isolationLevel = level