Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases
От | Josh Kupershmidt |
---|---|
Тема | Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases |
Дата | |
Msg-id | CAK3UJREwx9y1Lz87R4s1F3QPbP6n3F9SEAvetUOcnDdwx3CmtA@mail.gmail.com обсуждение исходный текст |
Ответ на | pg_ctl -D "/absolute/path" -m fast restart - doesn't work in some cases (hubert depesz lubaczewski <depesz@depesz.com>) |
Ответы |
Re: pg_ctl -D "/absolute/path" -m fast restart - doesn't
work in some cases
|
Список | pgsql-bugs |
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
В списке pgsql-bugs по дате отправления: