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 helmdh$g0k$4@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>)
Responses Re: specifying a password on the cmd line for db connect  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 2009-11-17, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
> --000e0cd211e054ab9404788a05cf
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Dave,
>
> You can always use the environment variable PGPASSWORD to do that.
> Though - it is not recommended to use for security reason. :(

as long as it's not in the default environment it's better than a
command-line password.


pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: specifying a password on the cmd line for db connect
Next
From:
Date:
Subject: Error on VACCUM ANALYZE