On Tue, Sep 27, 2016 at 4:08 AM, Poul Kristensen <bcc5226@xxxxxxxxx> wrote:
Hi !I have need to have to difference Postgres version runnung on the same RHEL 7.2 server.They are listening on 2 different ports as configured but socket is still listeningon port 5432 for both of them.
1. What version of postgres?
2. Where did you get your binaries from ? PGDG, etc...
In your postgresql.conf for each instance, what do you have for:
listen_addresses=?
port=?
unix_socket_directories=?
Most likely, the second instance you created has the socket in /tmp/, whereas the one created by the RPMs has the socket in /tmp AND /var/run/postgresql
--Scott
How come and how do I change this?TIAPoul