pgx/stdlib
Jack Christensen 77c1076d39 stdlib.ReleaseConn closes connections left in invalid state
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
2020-02-01 12:00:26 -06:00
..
opendb.go stdlib AfterConnect takes context 2019-06-29 13:53:43 -05:00
sql.go stdlib.ReleaseConn closes connections left in invalid state 2020-02-01 12:00:26 -06:00
sql_test.go stdlib.ReleaseConn closes connections left in invalid state 2020-02-01 12:00:26 -06:00
stdlibutil110_test.go Use envvars for stdlib tests 2019-05-20 20:39:45 -05:00
stdlibutil_test.go Use envvars for stdlib tests 2019-05-20 20:39:45 -05:00