Re: [GENERAL] pgpass file type restrictions

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: [GENERAL] pgpass file type restrictions
Дата
Msg-id 7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org
обсуждение исходный текст
Ответ на [GENERAL] pgpass file type restrictions  (Desidero <desidero@gmail.com>)
Ответы Re: [GENERAL] pgpass file type restrictions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
    Desidero wrote:

> When attempting to use something like an anonymous pipe for a
> passfile, psql throws an error stating that it only accepts plain files

So the script doing that has access to the password(s) in clear text.
Can't it instead push the password into the PGPASSWORD
environment variable, avoiding creating .pgpass in any form?


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [GENERAL] pgpass file type restrictions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pgpass file type restrictions