Re: Feature Request: [PostgreSQL 10] Support for preparing the encrypted password

From: Jim Nasby <jim(dot)nasby(at)openscg(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>, Ashesh Vashi <asheshvashi(at)gmail(dot)com>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: Feature Request: [PostgreSQL 10] Support for preparing the encrypted password
Date: 2017-08-07 15:37:00
Message-ID: 6a057a09-5238-a1a4-24d4-b94d45403b1c@openscg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 8/3/17 7:00 AM, Daniele Varrazzo wrote:
> One more arguable request is that I don't like the function as a
> connection method. The function is a wrapper to both
> `PQencryptPasswordConn` and `PQencryptPassword`, so the connection is
> actually an optional parameter.

I haven't looked at the code, but psql has supported \password back to
at least 9.5. AFAIK that's accomplished at the fe/be layer, so
presumably libpq has had password change support for quite some time.
--
Jim Nasby, Chief Data Architect, Austin TX
OpenSCG http://OpenSCG.com

In response to

Browse psycopg by date

  From Date Subject
Next Message Karsten Hilbert 2017-08-07 20:35:26 problem with readonly/autocommit, was: Changing set_session implementation
Previous Message Karsten Hilbert 2017-08-03 21:08:18 Re: Changing set_session implementation