Rename base.Conn to base.PgConn
- pgx.Conn embeds base.PgConn privately - Add pgx.Conn.ParameterStatus
This commit is contained in:
@@ -133,7 +133,7 @@ func (b *Batch) Send(ctx context.Context, txOptions *TxOptions) error {
|
||||
b.conn.pendingReadyForQueryCount++
|
||||
}
|
||||
|
||||
n, err := b.conn.BaseConn.NetConn.Write(buf)
|
||||
n, err := b.conn.pgConn.NetConn.Write(buf)
|
||||
if err != nil {
|
||||
if fatalWriteErr(n, err) {
|
||||
b.conn.die(err)
|
||||
|
||||
Reference in New Issue
Block a user