pg_ctl with unix domain socket?

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

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=/some/path/pgtest pg_ctl -D/some/path/pgtest -l postgreslog start

Any hints how to use pg_ctl to start/stop postgresql on a unix domain socket?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexandr Varlamov 2009-09-01 11:37:24 Keys and indexes
Previous Message Sam Mason 2009-09-01 09:38:22 Re: Aggregate function with subquery in 8.3 and 8.4.