Re: createdb.exe and psql.exe without Promting Password - Mailing list pgsql-general

From Dennis Brakhane
Subject Re: createdb.exe and psql.exe without Promting Password
Date
Msg-id 226a19190902111201k654fc91fk12f929168c3df63c@mail.gmail.com
Whole thread Raw
In response to createdb.exe and psql.exe without Promting Password  (Inigo Barandiaran <ibarandiaran@vicomtech.org>)
Responses Re: createdb.exe and psql.exe without Promting Password  (Inigo Barandiaran <ibarandiaran@vicomtech.org>)
List pgsql-general
On Tue, Feb 10, 2009 at 7:04 PM, Inigo Barandiaran
<ibarandiaran@vicomtech.org> wrote:
> I've read that if I define an environment variable like SET
> PGPPASSWORD=MyPosgresUserPassword, both calls dont ask for password. I've
> tested this variable in different platforms and does not work.
> Do you know how so solve it?

As you are dealing with PostgreSQL, and not Pretty Good Privacy, I'd
suggest removing the additional "P": PGPASSWORD, not PGPPASSWORD

But .pgpass is the Right Way to do it, IMHO

pgsql-general by date:

Previous
From: Steve Crawford
Date:
Subject: Re: Killing OIDs
Next
From: "Daniel Verite"
Date:
Subject: Re: Killing OIDs