pgsql: Clean up some SCRAM attribute processing - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Clean up some SCRAM attribute processing
Date
Msg-id E1i0Ksr-0001Nz-Cy@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Clean up some SCRAM attribute processing

Correct the comment for read_any_attr().  Give a clearer error message
when parsing at the end of the string, when the client-final-message
does not contain a "p" attribute (for some reason).

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/2fb8a15b-de35-682d-a77b-edcc9c52fa12%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/db1f28917bac5e008dcb2653a54e73d2d0571e06

Modified Files
--------------
src/backend/libpq/auth-scram.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix bogus comment
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove master/slave usage from plpgsql tests