2
0

Remove ensureConnectionReadyForQuery

This commit is contained in:
Jack Christensen
2019-02-02 13:00:31 -06:00
parent 577bc57ba5
commit bd181764bf
4 changed files with 3 additions and 62 deletions
-4
View File
@@ -90,10 +90,6 @@ func (b *Batch) Send(ctx context.Context) error {
return err
}
if err := b.conn.ensureConnectionReadyForQuery(); err != nil {
return err
}
batch := &pgconn.Batch{}
for _, bi := range b.items {