Re: PG_DUMP question

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Alex <alex(at)meerkatsoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PG_DUMP question
Date: 2003-12-02 15:38:25
Message-ID: 20031202153825.GA442@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-12-02 15:46:29 Re: Invalid page header in block
Previous Message Tom Lane 2003-12-02 15:28:00 Re: Misplaced modifier in Postgresql license