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

From Peter Eisentraut
Subject Re: adding PGPASSWORDFILE to libpq
Date
Msg-id Pine.LNX.4.44.0208100043170.3577-100000@localhost.localdomain
Whole thread Raw
In response to adding PGPASSWORDFILE to libpq  (Alvaro Herrera <alvherre@atentus.com>)
Responses Re: adding PGPASSWORDFILE to libpq
Re: adding PGPASSWORDFILE to libpq
Re: adding PGPASSWORDFILE to libpq
List pgsql-patches
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.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: stand-alone composite types patch (was [HACKERS] Proposal:
Next
From: Gavin Sherry
Date:
Subject: Re: CREATE TEMP TABLE .... ON COMMIT