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