Re: psql and passwords

From: Doug McNaught <doug(at)wireboard(dot)com>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql and passwords
Date: 2002-04-15 19:23:22
Message-ID: m3sn5wsr4l.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)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...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-04-15 19:24:38 Re: string encryption
Previous Message Moritz Sinn 2002-04-15 19:21:16 Re: function for creating random id