Re: adding PGPASSWORDFILE to libpq - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: adding PGPASSWORDFILE to libpq
Date
Msg-id 200208100137.g7A1bof20297@candle.pha.pa.us
Whole thread Raw
In response to Re: adding PGPASSWORDFILE to libpq  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut wrote:
> Alvaro Herrera writes:
>
> > Currently the format for the file should be
> >
> > host:port:database:user:password
>
> I think just the password.  If you need a different password, select a
> different file.
>
> The sort of format you propose makes it much too convenient for users to
> build password databases in files, which kind of defeats the point of
> passwords.

I fail to see how having different files with passwords is better than
having just one file.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: CREATE TEMP TABLE .... ON COMMIT
Next
From: Alvaro Herrera
Date:
Subject: Re: adding PGPASSWORDFILE to libpq