Re: PGPASSWORD - Mailing list pgsql-bugs

From Oliver Jowett
Subject Re: PGPASSWORD
Date
Msg-id 4221AC1F.9020600@opencloud.com
Whole thread Raw
In response to Re: PGPASSWORD  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-bugs
Andreas Pflug wrote:
> Oliver Jowett wrote:
>
>> postgresbugs wrote:
>>
>>> The functionality provided by PGPASSWORD should not be removed unless
>>> there is a functionality other than .pgpass, which is fine for some
>>> uses and not for others, that will provide similar functionality.
>>> That could be psql and pg_dump and the like accepting a password on
>>> the command line as I stated earlier.
>>
>>
>>
>> Putting the password on the command line would be even more of a
>> security problem than PGPASSWORD is now. I agree that an alternative
>> to ,pgpass would be useful, but it needs to be a *secure* alternative.
>
> The command line could take a file handle of an inherited pipe.

Yeah, that's what I originally suggested. Tom didn't seem to like it
though..

-O

pgsql-bugs by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: BUG #1502: hash_seq_search might return removed entry
Next
From: "Sergey Koshcheyev"
Date:
Subject: BUG #1510: Indexes on boolean fields