Re: pg_ctl with unix domain socket?

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Josef Wolf" <jw(at)raven(dot)inka(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_ctl with unix domain socket?
Date: 2009-09-01 13:33:33
Message-ID: 81d4632a-c7a9-4f96-b710-9f796aa762d1@mm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2009-09-01 13:34:21 Re: pg_ctl with unix domain socket?
Previous Message Raymond O'Donnell 2009-09-01 12:49:12 Re: Query and the number of row result