On Fri, Dec 19, 2014 at 4:02 PM, Craig Ringer <cr...@2ndquadrant.com> wrote:
> On 12/19/2014 11:57 PM, Dave Page wrote:
>> Right - we'd have to store the entries somewhere based on the target
>> server and the SSH config, and dynamically rebuilt the pgpass file
>> during the connection process. That seems a) ugly and b) very fragile.
>
> Darn. I thought libpq had a callback for a password prompt, but it doesn't.
>
> Guess we should add that. If libpq gets an auth request from the server
> and has no password from the connection string, it should invoke a
> callback (if supplied) that lets the client supply a password dynamically.

That would be very handy.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Reply via email to