Closed tommyzli closed 2 weeks ago
This PR fixes two issues with the database/sql interface
database/sql
driver.ErrBadConn
isConnBrokenError
net.OpErrors
Delete items not relevant to your PR:
All committers have signed the CLA.
Summary
This PR fixes two issues with the
database/sql
interfacedriver.ErrBadConn
) if the connection is brokenisConnBrokenError
is to restrictive. The postgres driver marks allnet.OpErrors
as BadConns so I applied that here tooChecklist
Delete items not relevant to your PR: