pgsql-listen-exchange icon indicating copy to clipboard operation
pgsql-listen-exchange copied to clipboard

Question regarding dropped connections

Open tommytomtj opened this issue 10 years ago • 1 comments

One of the issues I've had with external clients for postgres notifies is that I'd have to write code to check for dropped connections to the pgsql server and logic to discover any missed messages. So a couple questions as I'm not very familiar with either Erlang or RabbitMQ:

  1. Will this plugin automatically reconnect if the connection is dropped?
  2. Is it possible to pass keepalive parameters in the psql connection request?

Thank you.

tommytomtj avatar Aug 26 '15 01:08 tommytomtj

  1. No, this needs to be addressed and is tracked in #16
  2. Not currently, perhaps moving to a URL based configuration would be worthwhile.

gmr avatar Dec 16 '15 19:12 gmr