2
0

Rename base.Conn to base.PgConn

- pgx.Conn embeds base.PgConn privately
- Add pgx.Conn.ParameterStatus
This commit is contained in:
Jack Christensen
2018-12-28 12:16:50 -06:00
parent 5c05f3f2ce
commit b63370e5d5
11 changed files with 76 additions and 72 deletions
+1 -1
View File
@@ -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)