Re: PG_DUMP question - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: PG_DUMP question
Date
Msg-id 20031202153825.GA442@dcc.uchile.cl
Whole thread Raw
In response to Re: PG_DUMP question  (Alex <alex@meerkatsoft.com>)
List pgsql-general
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)

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Misplaced modifier in Postgresql license
Next
From: Tom Lane
Date:
Subject: Re: Invalid page header in block