Re: adding PGPASSWORDFILE to libpq

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: adding PGPASSWORDFILE to libpq
Дата
Msg-id
Pine.LNX.4.44.0208100043170.3577-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
adding PGPASSWORDFILE to libpq Alvaro Herrera <alvherre@atentus.com>
Re: adding PGPASSWORDFILE to libpq Tom Lane <tgl@sss.pgh.pa.us>
Re: adding PGPASSWORDFILE to libpq Peter Eisentraut <peter_e@gmx.net>
Re: adding PGPASSWORDFILE to libpq Bruce Momjian <pgman@candle.pha.pa.us>
Re: adding PGPASSWORDFILE to libpq Tom Lane <tgl@sss.pgh.pa.us>
Re: adding PGPASSWORDFILE to libpq Alvaro Herrera <alvherre@atentus.com>
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 по дате отправления
От: Tom Lane
Дата:
От: Gavin Sherry
Дата:
FAQ