Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pooled connections are marked as closed when the underlying physical connection is closed. #150

Merged
merged 2 commits into from Apr 29, 2014

Conversation

Projects
None yet
2 participants
@alexismeneses
Copy link
Contributor

commented Apr 28, 2014

Note that failure to reflect the close status of the underlying physicial connection makes the following case happen: all calls to the pooled connection throw an exception stating that the connection is already closed but isClosed still returns false.
The latter can make a connection closed by backend or network reasons to be kept in pool.

davecramer added a commit that referenced this pull request Apr 29, 2014

Merge pull request #150 from alexismeneses/master
Pooled connections are marked as closed when the underlying physical connection is closed.

@davecramer davecramer merged commit 1fd09e4 into pgjdbc:master Apr 29, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.