alaisi / postgres-async-driver

Asynchronous PostgreSQL Java driver
Apache License 2.0
287 stars 38 forks source link

Recover connection during listen #20

Open xolvo opened 8 years ago

xolvo commented 8 years ago

Hi.

When using ConnectionPool#listen and if db suddenly stops (due to connectivity issues or any other problems causing db to become unreachable) and after that database is started again then listen stops working.

I think it's related to connection become dead and listen query must be reinitiated.

Any workarounds would be appreciated.

alaisi commented 8 years ago

Thanks for the bug report, I'm looking into it.

xolvo commented 8 years ago

Hi! Any news?