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_6e117mqhzafxb...@mail.gmail.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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers