Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases
Date: 2013-05-16 21:58:46
Message-ID: 20130516215846.GA7595@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On czw, maj 16, 2013 at 05:55:54 -0400, Alvaro Herrera wrote:
> > > only when Pg is started with relative path, and restarted with absolute, the
> > > problem shows.
> > 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
> Um, if this is a bug introduced during the 9.3 timeframe surely we
> ought to fix it now instead of waiting for the CF.

Apparently not. Retried with 9.1.9, and got exactly same result:

=$ pg_ctl -D q -l logfile start
server starting

=$ cd q

=$ 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/depesz/q/q/postgresql.conf": No such file or directory

Best regards,

depesz

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-05-16 22:00:34 Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases
Previous Message Alvaro Herrera 2013-05-16 21:55:54 Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases