Re: specifying a password on the cmd line for db connect

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: specifying a password on the cmd line for db connect
Date: 2009-11-26 10:48:17
Message-ID: helmdh$g0k$4@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2009-11-17, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A.Bhattacharya 2009-11-26 12:34:58 Error on VACCUM ANALYZE
Previous Message Jasen Betts 2009-11-26 10:46:18 Re: specifying a password on the cmd line for db connect