Re: psql and passwords - Mailing list pgsql-general

From Doug McNaught
Subject Re: psql and passwords
Date
Msg-id m3sn5wsr4l.fsf@varsoon.wireboard.com
Whole thread Raw
In response to Re: psql and passwords  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Responses Re: psql and passwords
List pgsql-general
"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:

> I don't know when the change was made but it never worked for me,
> and I'm sure that included 7.0.2 if not 6.5.1
>
> Anyway, the solution is to set PGPASSWORD in the evironment. Once I
> remembered about that it all became so much easier.

Note that this is potentially insecure as some systems expose your
environment to other users.

-Doug
--
Doug McNaught       Wireboard Industries      http://www.wireboard.com/

      Custom software development, systems and network consulting.
      Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

pgsql-general by date:

Previous
From: Gunther Schadow
Date:
Subject: Re: User-Defined Datatypes
Next
From: Bruce Momjian
Date:
Subject: Re: size of NULL field?