Re: [HACKERS] scram and \password - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] scram and \password
Date
Msg-id CAB7nPqQwMQ6SR7fcdN3JSm5TyWZ-uA+TvrW7sA2rB27OriXrfQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] scram and \password  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Responses Re: [HACKERS] scram and \password
List pgsql-hackers
On Thu, Apr 27, 2017 at 1:25 PM, Ashesh Vashi
<ashesh.vashi@enterprisedb.com> wrote:
> - Do we need to provide the method here?
> We have connection object itself, it can decide from the type of connection,
> which method to be used.

Providing the method is not mandatory. If you look upthread... If the
caller of this routine specified method = NULL, then the value of
password_encryption on the server is queried automatically and that
will be the method used to hash the password.
-- 
Michael



pgsql-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: [HACKERS] scram and \password
Next
From: Ashesh Vashi
Date:
Subject: Re: [HACKERS] scram and \password