Re: specifying a password on the cmd line for db connect - Mailing list pgsql-general

From Jasen Betts
Subject Re: specifying a password on the cmd line for db connect
Date
Msg-id helm9q$g0k$3@reversiblemaps.ath.cx
Whole thread Raw
In response to specifying a password on the cmd line for db connect  ("Gauthier, Dave" <dave.gauthier@intel.com>)
List pgsql-general
On 2009-11-16, Gauthier, Dave <dave.gauthier@intel.com> wrote:
> --_000_482E80323A35A54498B8B70FF2B87980042237CF64azsmsx504amrc_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Hi:
>
> Is there a way to require and specify a password at the cmd line for a conn=
> ect?  At first glance...

PGPASSWORD=fee  psql --username foo ...

><html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
> hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

for winders

set PGPASSWORD=fee
psql --username foo ....


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Wiki page on vacuum full
Next
From: Jasen Betts
Date:
Subject: Re: specifying a password on the cmd line for db connect