Re: pgpass file type restrictions

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Desidero" <desidero(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pgpass file type restrictions
Date: 2017-10-19 13:56:59
Message-ID: 7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-10-19 14:20:04 Re: pgpass file type restrictions
Previous Message Andrew Dunstan 2017-10-19 13:44:18 Re: pgpass file type restrictions