On Thu, May 16, 2013 at 4:34 PM, hubert depesz lubaczewski
<depesz@depesz.com> wrote:
> =$ pg_ctl -D $( pwd ) -m fast restart
> waiting for server to shut down.... done
> server stopped
> server starting
> postgres cannot access the server configuration file "/home/test/test/slave/test/slave/postgresql.conf": No such file
ordirectory
>
> The problem doesn't exist when I'd start pg with:
> 1. cd test/slave; pg_ctl -D . start
> or
> 2. pg_ctl -D /home/test/test/slave start
>
> only when Pg is started with relative path, and restarted with absolute, the
> problem shows.
>
> I know that it's probably not a big deal for most of the people, but it
> did bite me, so I'm reporting it.
It has been a nuisance for me too. Possible patch for pg_ctl is in the next CF:
http://www.postgresql.org/message-id/CAK3UJRFK8-izAU1SMpNZr5Muc+6CRWBk0_7ByJnwUoapj3esFQ@mail.gmail.com
Josh