rob stone <floriparob@gmail.com> writes:
> This is a Debian problem that has caused a problem starting Postgres.
> Today, the following was in the log:-
> 2016-05-05 03:44:53 AESTLOG: test message did not get through on
> socket for statistics collector
> I can connect via psql and issue queries without any problems. Trying
> to connect via JDBC fails. Trying to connect by an application fails.
Sounds like you've got a firewall that is blocking local TCP connections
into and out of Postgres. This doesn't have anything to do with package
addition or removal, it's an over-aggressive packet filter.
regards, tom lane