Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433

Поиск
Список
Период
Сортировка
От Scott Mead
Тема Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Дата
Msg-id CAKq0gvL-jahD+WwwRbJvPvo3J-XRAJnfcCowxHytXEeEV2zO-g@mail.gmail.com
обсуждение исходный текст
Ответ на /var/run/postgresql/.s.PGSQL.5432 should be 5433  (Poul Kristensen <bcc5226@gmail.com>)
Список pgsql-admin


On Tue, Sep 27, 2016 at 4:08 AM, Poul Kristensen <bcc5226@gmail.com> 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 listening
on  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?

TIA

Poul 




--
--
Scott Mead
Sr. Architect
OpenSCG

В списке pgsql-admin по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Следующее
От: Tom Lane
Дата:
Сообщение: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433