From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | David Schweikert <david(at)schweikert(dot)ch>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4006: pg_ctl assumes that all config files lie in data_directory |
Date: | 2008-03-03 17:12:16 |
Message-ID: | 200803031712.m23HCGk20186@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Tom Lane wrote:
> "David Schweikert" <david(at)schweikert(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2008-03-03 18:02:57 | Re: [BUGS] BUG #4007: chr(0) doesn't work anymore |
Previous Message | Bruce Momjian | 2008-03-03 17:11:43 | Re: [BUGS] BUG #4007: chr(0) doesn't work anymore |