Configfiles outside initDB dir

From: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Configfiles outside initDB dir
Date: 2005-12-14 13:59:46
Message-ID: dnp8do$23pq$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I want to have postgresql.conf and pg_hba.conf outside the directory
created by initDB.

$PGDATA points to the directory the config files reside in (and nothing
else) and in postgresql.conf the option "data_directory" is set to the
directory containing the cluster created by initDB. I can use pg_ctl
start but pg_ctl stop failes as it expects the pid file in the dir with
the config files. I tried the option "external_pid_file". A second pid
file in the config files dir is created but never deleted.

How to do it correctly?

Thanks

--
Regards,
Hannes Dorbath

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Hoover 2005-12-14 14:43:13 Re: PG 8.1.1 rhel-as-4 rpms missing - Now not initdb issues
Previous Message sandhya 2005-12-14 12:24:38 Re: reg: Errors on Windows application(urgent)