On Tue, Dec 02, 2003 at 05:31:45PM +0900, Alex wrote:
> but I am looking for a way to pass the password to the command rather
> than using another config or password file.
> I store my config infos in an xml file.
> I thought I could set the environment var as suggested on some sites but
> it does not seem to be working.
It should work. Note though that it is called PGPASSWORD, not PGPASSWD
as your example was showing. Be sure to export it.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Las cosas son buenas o malas segun las hace nuestra opinión" (Lisias)