pgsql: Refactor sendAuthRequest.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor sendAuthRequest.
Date: 2016-08-18 10:29:31
Message-ID: E1baKZn-0003oy-Cr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Refactor sendAuthRequest.

This way sendAuthRequest doesn't need to know the details of all the
different authentication methods. This is in preparation for adding SCRAM
authentication, which will add yet another authentication request message
type, with different payload.

Reviewed-By: Michael Paquier
Discussion: <CAB7nPqQvO4sxLFeS9D+NM3wpy08ieZdAj_6e117MQHZAfxBFsg(at)mail(dot)gmail(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8d3b9cce81c173da55b9500353e5d773f8449a66

Modified Files
--------------
src/backend/libpq/auth.c | 52 +++++++++++++++++-------------------------------
1 file changed, 18 insertions(+), 34 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2016-08-18 10:38:31 pgsql: Update Windows timezone mapping from Windows 7 and 10
Previous Message Andres Freund 2016-08-18 00:06:36 pgsql: Fix deletion of speculatively inserted TOAST on conflict