Re: psql and passwords

Doug McNaught <doug@wireboard.com>

From: Doug McNaught <doug@wireboard.com>
To: "Nigel J. Andrews" <nandrews@investsystems.co.uk>
Cc: pgsql-general@postgresql.org
Date: 2002-04-15T19:23:22Z
Lists: 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...