Re: .pgpass - Mailing list pgsql-novice

From Tom Lane
Subject Re: .pgpass
Date
Msg-id 28870.1088703486@sss.pgh.pa.us
Whole thread Raw
In response to Re: .pgpass  (<ghaverla@freenet.edmonton.ab.ca>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: concurrent cursors possible with portals?
Next
From: "M. Bastin"
Date:
Subject: Re: concurrent cursors possible with portals?