Josh Kupershmidt <schmi...@gmail.com> writes: > On Sat, Oct 13, 2012 at 3:56 PM, Thom Brown <t...@linux.com> wrote: >> I have noticed that, using pg_ctl, if you start Postgres using a >> relative path, then attempt to restart it from anywhere else, it >> fails.
> Yeah, I was complaining about the same problem here: > http://archives.postgresql.org/pgsql-bugs/2011-10/msg00210.php I just re-read that thread, and it occurred to me that there is another way to fix the problem: what we need is either for postmaster.opts to not store the -D option at all, or for pg_ctl restart to override that option with its freshly-derived idea of where the data directory is. This would avoid my allergy to the idea of storing an absolute-ified path, which I'm still down on because it would have failure modes of its own. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs