Re: trouble with pg_dumpall

Поиск
Список
Период
Сортировка
От Steve Holdoway
Тема Re: trouble with pg_dumpall
Дата
Msg-id 20080228163341.e7fc28b8.steve.holdoway@firetrust.com
обсуждение исходный текст
Ответ на trouble with pg_dumpall  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin
On Wed, 27 Feb 2008 17:12:40 -0800
"Tena Sakai" <tsakai@gallo.ucsf.edu> wrote:

Here's your problem.
>   . .bashrc

You have an extremely minimal environment when running from cron, and you certainly *aren't* running from the home
directoryof the relevant user. You need to set up your PATH and HOME manually, and cd to your home directory before
sourcing.bashrc for this to work. 

. ~/.bashrc *might* work, but it's better to be specific (:

hth,

Steve

--
Steve Holdoway <steve.holdoway@firetrust.com>

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

Предыдущее
От: "Tena Sakai"
Дата:
Сообщение: Re: trouble with pg_dumpall
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: trouble with pg_dumpall