Re: pg_ctl with unix domain socket?

From: Josef Wolf <jw(at)raven(dot)inka(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_ctl with unix domain socket?
Date: 2009-09-01 14:47:25
Message-ID: 20090901144725.GB19919@raven.wolf.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 01, 2009 at 06:34:21AM -0700, Adrian Klaver wrote:
> On Tuesday 01 September 2009 4:28:22 am Josef Wolf wrote:

Thanks for your help, Adrian!

[ ... ]
> > Any hints how to use pg_ctl to start/stop postgresql on a unix domain
> > socket?
>
> 1) In postgresql.conf make listen_addresses empty per instructions:

I could get it running with putting listen_addresses='' in postgresql.conf
and then running

pg_ctl -Ddb -o "-h '' -k `pwd`/db" -l postgreslog start

pg_ctl -Ddb -o "-h '' -k `pwd`/db" -l postgreslog stop

Thanks to all who helped

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message xaviergxf 2009-09-01 16:16:25 Get closest numbers between intervals
Previous Message Michael Glaesemann 2009-09-01 13:38:34 Re: Keys and indexes