Re: What is "return code" for WAL send command

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is "return code" for WAL send command
Дата
Msg-id 3657.1287938037@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What is "return code" for WAL send command  (zhong ming wu <mr.z.m.wu@gmail.com>)
Список pgsql-general
zhong ming wu <mr.z.m.wu@gmail.com> writes:
> postgres user has both rsync and ssh in its path but is it possible
> that it is not using $PATH ?

> One other thing is that just before the error the postgres was
> restarted by other admin with rc.d/postgresql command
> instead of pg_ctl which is what I normally use.  Perhaps
> rc.d/postgresql command does not work well with WAL sending command?

I'd bet that the other way failed to start the postmaster with the
expected value of $PATH.  Take a close look at the script and see
if it causes postgres' login environment to be installed or not
(ie, su -l not just su).

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: Advice needed on application/database authentication/authorization/auditing model
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Getting ROW_COUNT from MOVE in 8.3