diff --git a/driver/pgdriver/driver.go b/driver/pgdriver/driver.go index 2ebe5e61a..256de4a40 100644 --- a/driver/pgdriver/driver.go +++ b/driver/pgdriver/driver.go @@ -349,6 +349,8 @@ func (cn *Conn) checkBadConn(err error) error { return err } +func (cn *Conn) Conn() net.Conn { return cn.netConn } + //------------------------------------------------------------------------------ type rows struct {