Re: .pgpass

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: .pgpass
Дата
Msg-id 28870.1088703486@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: .pgpass  (<ghaverla@freenet.edmonton.ab.ca>)
Список pgsql-novice
<ghaverla@freenet.edmonton.ab.ca> writes:
> the message from cron indicates that home is /var/lib/postgres
> and the user is postgres when the script runs.

> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/var/lib/postgres>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=postgres>

Hm.  Given that you seem to have eliminated other possibilities,
I guess I'd question that message.  Have you tried putting something
like "env > logfile" into the cron script to directly verify what
environment it gets?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: concurrent cursors possible with portals?
Следующее
От: "M. Bastin"
Дата:
Сообщение: Re: concurrent cursors possible with portals?