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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Дата
Msg-id 20160927145100.GA306029@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433  (Scott Whitney <scott@journyx.com>)
Ответы Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Scott Whitney wrote:
> 1) You should have a script in /etc/init.d called something like postgresql-VERSION
>
>
> 2) Rename this to postgresql-SomeIdentifierThatRunsOn5432
>
> 3) Copy it to postgresql-SomeIdentifiedThatRunsOn5433

I think it's better to keep one of these under the original name, and
make the second one a symlink to it.  That way, the whole system won't
break when the packages are updated.  Other than that little detail,
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).

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Glyn Astill
Дата:
Сообщение: Re: Wrong stat on pg_stat_user_tables
Следующее
От: Scott Mead
Дата:
Сообщение: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433