Re: [GENERAL] pgpass file type restrictions - Mailing list pgsql-general

From Daniel Verite
Subject Re: [GENERAL] pgpass file type restrictions
Date
Msg-id 7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org
Whole thread Raw
In response to [GENERAL] pgpass file type restrictions  (Desidero <desidero@gmail.com>)
Responses Re: [GENERAL] pgpass file type restrictions  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [GENERAL] pgpass file type restrictions
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] pgpass file type restrictions