[GENERAL] pg_ctl with unix domain socket?

2009-09-01 Thread Josef Wolf
Hello, I have created a fresh cluster with initdb -D /some/path/pgtest I can start postgres to run on unix domain socket serving this cluster with: postgres -D /some/path/pgtest -h '' -k /some/path/pgtest But I'd like to use pg_ctl instead, in order to have clean control: PGPORT=/som

Re: [GENERAL] pg_ctl with unix domain socket?

2009-09-01 Thread Josef Wolf
On Tue, Sep 01, 2009 at 05:28:46PM +0530, Abbas wrote: > On Tue, Sep 1, 2009 at 4:58 PM, Josef Wolf wrote: Thanks for your fast response, Abbas! > > I have created a fresh cluster with > > initdb -D /some/path/pgtest > > PGPORT=/some/path/pgtest pg_ctl -D/some/path/

Re: [GENERAL] pg_ctl with unix domain socket?

2009-09-01 Thread Josef Wolf
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

Re: [GENERAL] pg_ctl with unix domain socket?

2009-09-03 Thread Josef Wolf
On Tue, Sep 01, 2009 at 04:47:25PM +0200, Josef Wolf wrote: > 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: > [ ... ] > > > Any hints how to use pg_ctl to start/stop postgresql on a unix domain &g

Re: [GENERAL] pg_ctl with unix domain socket?

2009-09-06 Thread Josef Wolf
On Fri, Sep 04, 2009 at 01:33:06PM -0400, Tom Lane wrote: > Josef Wolf writes: > >> pg_ctl -Ddb -o "-h '' -k `pwd`/db" -l postgreslog start > > > This works, but when I add the -w option, it waits all the 60 seconds. > > I don't believe pg_c