Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ud6CL-0007C9-E2 for pgsql-bugs@arkaria.postgresql.org; Thu, 16 May 2013 21:58:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ud6CK-0002tf-U1 for pgsql-bugs@arkaria.postgresql.org; Thu, 16 May 2013 21:58:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ud6CK-0002tZ-36 for pgsql-bugs@postgresql.org; Thu, 16 May 2013 21:58:52 +0000 Received: from andy.depesz.com ([88.198.47.100] helo=depesz.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ud6CG-0004KW-Lu for pgsql-bugs@postgresql.org; Thu, 16 May 2013 21:58:51 +0000 Received: from andy.depesz.com ([88.198.47.100] helo=depesz.com) by depesz.com with esmtpa (Exim 4.80) (envelope-from ) id 1Ud6CE-0002VC-OK; Thu, 16 May 2013 23:58:46 +0200 Date: Thu, 16 May 2013 23:58:46 +0200 From: hubert depesz lubaczewski To: Alvaro Herrera Cc: Josh Kupershmidt , pgsql-bugs@postgresql.org Subject: Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases Message-ID: <20130516215846.GA7595@depesz.com> Reply-To: depesz@depesz.com References: <20130516203449.GA6559@depesz.com> <20130516215554.GL15045@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130516215554.GL15045@eldon.alvh.no-ip.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs