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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Дата
Msg-id 12760.1474992509@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-admin
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> your suggested procedure seems sound ... in a pre-systemd world.  I am
> not familiar with systemd enough to know what, if anything, should be
> done differently there (I don't know whether RHEL 7.2 is systemd or
> not).

RHEL7 is systemd.  It's been several years since I touched those packages,
but I have some vague recollection that the systemd unit files for PG
insist on setting the port for themselves, overriding whatever you might
put into postgresql.conf.  So you'd need to make a second unit file and
adjust the port setting in it.

            regards, tom lane


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

Предыдущее
От: Scott Mead
Дата:
Сообщение: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Следующее
От: Devrim Gündüz
Дата:
Сообщение: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433