Re: pg_ctl with unix domain socket? - Mailing list pgsql-general

From Daniel Verite
Subject Re: pg_ctl with unix domain socket?
Date
Msg-id 81d4632a-c7a9-4f96-b710-9f796aa762d1@mm
Whole thread Raw
In response to Re: pg_ctl with unix domain socket?  (Josef Wolf <jw@raven.inka.de>)
List 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 by date:

Previous
From: Alexandr Varlamov
Date:
Subject: Keys and indexes
Next
From: Adrian Klaver
Date:
Subject: Re: pg_ctl with unix domain socket?