Re: BUG #4006: pg_ctl assumes that all config files lie in data_directory

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #4006: pg_ctl assumes that all config files lie in data_directory
Дата
Msg-id 200803031712.m23HCGk20186@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #4006: pg_ctl assumes that all config files lie in data_directory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #4006: pg_ctl assumes that all config files lie in data_directory  (David Schweikert <david@schweikert.ch>)
Список pgsql-bugs
Tom Lane wrote:
> "David Schweikert" <david@schweikert.ch> writes:
> > pg_ctl doesn't work if you put postgresql.conf in a different directory than
> > the database data files.
>
> Yeah, this is a known limitation that seems unlikely to get fixed soon,
> as doing it right would appear to require giving pg_ctl the ability to
> parse the config file completely.

FYI, it is a TODO item:

* Allow pg_ctl to work properly with configuration files located outside
  the PGDATA directory

  pg_ctl can not read the pid file because it isn't located in the
  config directory but in the PGDATA directory.  The solution is to
  allow pg_ctl to read and understand postgresql.conf to find the
  data_directory value.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4007: chr(0) doesn't work anymore
Следующее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: BUG #3973: pg_dump using inherited tables do not always restore