Re: pg_ctl with unix domain socket?

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: pg_ctl with unix domain socket?
Дата
Msg-id 81d4632a-c7a9-4f96-b710-9f796aa762d1@mm
обсуждение исходный текст
Ответ на Re: pg_ctl with unix domain socket?  (Josef Wolf <jw@raven.inka.de>)
Список pgsql-general
    Josef Wolf wrote:

> > PGPORT should be the port number on which the Postgresql server is
> > running(5432 is default), and  PGDATA=some/path/pgtest .
>
> Yeah, I see.  But I do not want it to bind to network socket.  I want it to
> bind to a unix domain socket  _only_.

Typically this is done by setting listen_addresses (in postgresql.conf) to an
empty list, as explained here:

http://www.postgresql.org/docs/8.4/static/runtime-config-connection.html#RUNT
IME-CONFIG-CONNECTION-SETTINGS

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

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

Предыдущее
От: Alexandr Varlamov
Дата:
Сообщение: Keys and indexes
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_ctl with unix domain socket?