Configfiles outside initDB dir

Поиск
Список
Период
Сортировка
От Hannes Dorbath
Тема Configfiles outside initDB dir
Дата
Msg-id dnp8do$23pq$1@news.hub.org
обсуждение исходный текст
Ответы Re: Configfiles outside initDB dir  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "sandhya"
Дата:
Сообщение: Re: reg: Errors on Windows application(urgent)
Следующее
От: Chris Hoover
Дата:
Сообщение: Re: PG 8.1.1 rhel-as-4 rpms missing - Now not initdb issues