mirror of https://github.com/jackc/pgx.git
If a connection is in a transaction or has an open result set then close the connection when returning it to database/sql. When next database/sql attempts to use it the connection will return driver.ErrBadConn and database/sql will remove it from the pool. fixes #673 |
||
---|---|---|
.. | ||
opendb.go | ||
sql.go | ||
sql_test.go | ||
stdlibutil110_test.go | ||
stdlibutil_test.go |