Обсуждение: Comment #1775 was deleted by justin

Поиск
Список
Период
Сортировка

Comment #1775 was deleted by justin

От
nobody
Дата:
Author: Dima Fedotov <billy@dautkom.lv>
Page:   7.4/jdbc-datasource.html
----
(sorry for my bad english)
I have maked simple example using connection pool. I test situation when connection between db-server and client are
broken.
My test client gets connection from pool, do some transactions and put connection back to pool (using con.close()).
If restart postgres while client is working, all established connections from pool becomes not functional. If call
con.close()connection puts back to pool, but it not working! If do not call con.close, then after few restarting of
postgrespool riches maximum connection count.... How to invalidate not working connections?