Configfiles outside initDB dir - Mailing list pgsql-admin

From Hannes Dorbath
Subject Configfiles outside initDB dir
Date
Msg-id dnp8do$23pq$1@news.hub.org
Whole thread Raw
Responses Re: Configfiles outside initDB dir
List 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

pgsql-admin by date:

Previous
From: "sandhya"
Date:
Subject: Re: reg: Errors on Windows application(urgent)
Next
From: Chris Hoover
Date:
Subject: Re: PG 8.1.1 rhel-as-4 rpms missing - Now not initdb issues