]> granicus.if.org Git - postgresql/commit
Refactor sendAuthRequest.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Aug 2016 10:25:31 +0000 (13:25 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Aug 2016 10:25:31 +0000 (13:25 +0300)
commit8d3b9cce81c173da55b9500353e5d773f8449a66
treec44bcc735b08b5f3405ba70017739fd52b84217c
parent07ef035129586ca26a713c4cd15e550dfe35e643
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@mail.gmail.com>
src/backend/libpq/auth.c